MediaManagedDisposeManaged Method (Speaker, Object) |
Manages access to the speaker's Dispose function.
It disposes the speaker only if all its owners have called DisposeManaged function on it.
Use this function paired with StartManaged and StopManaged ones.
Namespace:
Ozeki.Media
Assembly:
OzekiSDK (in OzekiSDK.dll) Version: 10.3.199.0
Syntaxpublic static void DisposeManaged(
Speaker speaker,
Object owner
)
Public Shared Sub DisposeManaged (
speaker As Speaker,
owner As Object
)
public:
static void DisposeManaged(
Speaker^ speaker,
Object^ owner
)
static member DisposeManaged :
speaker : Speaker *
owner : Object -> unit
Parameters
- speaker
- Type: Ozeki.MediaSpeaker
The speaker to which access should be managed. - owner
- Type: SystemObject
The owner that uses the speaker.
ExceptionsException | Condition |
---|
NullReferenceException | If speaker is null. |
ArgumentNullException | If owner is null. |
See Also