SessionTerminatedEventHandler Delegate

Language:

Warning: This delegate is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.
Represents the method that will handle the SessionTerminated event. Deprecated.

Definition

Visual Basic Public Delegate Sub SessionTerminatedEventHandler( _
    ByVal sender As Object, _
    ByVal e As SessionTerminatedEventArgs _
)
C# public delegate void SessionTerminatedEventHandler(
    object sender,
    SessionTerminatedEventArgs e
);
C++ public delegate void SessionTerminatedEventHandler(
    Objectsender,
    SessionTerminatedEventArgse
);
JScript In JScript, you can use delegates, but you cannot define your own.

Parameters

sender System.Object
e Microsoft.DirectX.DirectPlay.SessionTerminatedEventArgs

Delegate Information

Namespace Microsoft.DirectX.DirectPlay
Assembly Microsoft.DirectX.DirectPlay (microsoft.directx.directplay.dll)
Strong Name Microsoft.DirectX.DirectPlay,  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