MediaManagedDisposeManaged(Speaker, Object) Method |
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.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.13.0
Syntaxpublic static void DisposeManaged(
this Speaker speaker,
Object owner
)
<ExtensionAttribute>
Public Shared Sub DisposeManaged (
speaker As Speaker,
owner As Object
)
public:
[ExtensionAttribute]
static void DisposeManaged(
Speaker^ speaker,
Object^ owner
)
[<ExtensionAttribute>]
static member DisposeManaged :
speaker : Speaker *
owner : Object -> unit
Parameters
- speaker Speaker
- The speaker to which access should be managed.
- owner Object
- The owner that uses the speaker.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Speaker. 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).
Exceptions
See Also