MediaManagedDisposeManaged Method (Microphone, Object) |
Manages access to the microphone's Dispose function.
It disposes the microphone 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(
Microphone microphone,
Object owner
)
Public Shared Sub DisposeManaged (
microphone As Microphone,
owner As Object
)
public:
static void DisposeManaged(
Microphone^ microphone,
Object^ owner
)
static member DisposeManaged :
microphone : Microphone *
owner : Object -> unit
Parameters
- microphone
- Type: Ozeki.MediaMicrophone
The microphone to which access should be managed. - owner
- Type: SystemObject
The owner that uses the microphone.
ExceptionsException | Condition |
---|
NullReferenceException | If microphone is null. |
ArgumentNullException | If owner is null. |
See Also