Click or drag to resize

MediaManagedStopManaged(Speaker, Object) Method

Manages access to the speaker's Stop function. It stops the speaker only if all its owners have called StopManaged function on it. Use this function paired with StartManaged and DisposeManaged ones.

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntax
public static void StopManaged(
	this Speaker speaker,
	Object owner
)

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
ExceptionCondition
NullReferenceExceptionIf speaker is null.
ArgumentNullExceptionIf owner is null.
See Also