Share via


DirectXException.DirectXException(SerializationInfo,StreamingContext) Constructor (Microsoft.DirectX)

Initializes a new instance of the DirectXException class.

Definition

Visual Basic Protected Sub New( _
    ByVal info As SerializationInfoLeave Site, _
    ByVal context As StreamingContextLeave Site _
)
C# protected DirectXException(
    SerializationInfoLeave Site info,
    StreamingContextLeave Site context
);
C++ protected:
 DirectXException(
    SerializationInfoLeave Siteinfo,
    StreamingContextLeave Site context
);
JScript protected function DirectXException(
    info : SerializationInfoLeave Site,
    context : StreamingContextLeave Site
);

Parameters

info System.Runtime.Serialization.SerializationInfo
A SerializationInfoLeave Site object that contains serialization information for the current exception.
context System.Runtime.Serialization.StreamingContext
A StreamingContextLeave Site object that contains the context for the current exception.