TerminateSessionMessage.ResultCode Property (Microsoft.DirectX.DirectPlay)

Warning: This property 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.

Specifies how the session was terminated. This member is set to DPNERR_HOSTTERMINATEDSESSION if the session was peer-to-peer, and the host called Play8peerTerminatesessionDplay. If the session was ended by the host calling Play8peerCloseDplay, or if the host stops responding, hResultCode is set to DPNERR_CONNECTIONLOST. Deprecated.

Definition

Visual Basic Public ReadOnly Property ResultCode As ResultCode
C# public ResultCode ResultCode { get; }
C++ public:
property ResultCode ResultCode {
        ResultCode get();
}
JScript public function get ResultCode() : ResultCode

Property Value

Microsoft.DirectX.DirectPlay.ResultCode

This property is read-only.