Click or drag to resize

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
Syntax
public static void DisposeManaged(
	Speaker speaker,
	Object owner
)

Parameters

speaker
Type: Ozeki.MediaSpeaker
The speaker to which access should be managed.
owner
Type: SystemObject
The owner that uses the speaker.
Exceptions
ExceptionCondition
NullReferenceExceptionIf speaker is null.
ArgumentNullExceptionIf owner is null.
See Also