MediaManagedStopManaged(Microphone, Object) Method |
Manages access to the microphone's Stop function.
It stops the microphone only if all its owners have called StopManaged function on it.
Use this function paired with StartManaged and DisposeManaged ones.
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntaxpublic static void StopManaged(
this Microphone microphone,
Object owner
)
<ExtensionAttribute>
Public Shared Sub StopManaged (
microphone As Microphone,
owner As Object
)
public:
[ExtensionAttribute]
static void StopManaged(
Microphone^ microphone,
Object^ owner
)
[<ExtensionAttribute>]
static member StopManaged :
microphone : Microphone *
owner : Object -> unit
Parameters
- microphone Microphone
- The microphone to which access should be managed.
- owner Object
- The owner that uses the microphone.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Microphone. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
ExceptionsException | Condition |
---|
NullReferenceException | If microphone is null. |
ArgumentNullException | If owner is null. |
See Also