Notify Class

Language:

Sets up notification events for a playback or capture buffer.

Definition

Visual Basic Public Class Notify
    Inherits MarshalByRefObject
    Implements IDisposable
C# public class Notify : MarshalByRefObject, IDisposable
C++ public ref class Notify : MarshalByRefObject, IDisposable
JScript public class Notify extends MarshalByRefObject implements IDisposable

Members Table

Event Description
Disposing Occurs when the Dispose method is called or when the Notify object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime.
Method Description
Dispose Immediately releases the unmanaged resources used by the Notify object.
Equals Returns a value that indicates whether the current instance is equal to a specified object.
Finalize Allows the Notify object to free resources before it is destroyed by the garbage collector.
GetHashCode Returns the hash code for the current instance.
GetObjectByValue This member supports the infrastructure for Microsoft DirectX 9.0 for Managed Code and is not intended to be used directly from your code.
Notify Initializes a new instance of the Notify class.
static (Shared in Visual Basic) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic) op_Inequality Compares the current instance of a class to another instance to determine whether they are different.
raise_Disposing Raises the Notify.Disposing event when called from within a derived class.
SetNotificationPositions Sets the notification positions for triggering events during capture or playback.
Property Description
Disposed Gets a value that indicates whether the object is disposed.

Inheritance Hierarchy

Object Leave Site
MarshalByRefObject Leave Site
Notify

Remarks

A SecondaryBuffer object will support notification events only if its BufferDescription.ControlPositionNotify is set to true.

Class Information

Namespace Microsoft.DirectX.DirectSound
Assembly Microsoft.DirectX.DirectSound (microsoft.directx.directsound.dll)
Strong Name Microsoft.DirectX.DirectSound,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center