DirectXException.DirectXException Constructor

Language:

Initializes a new instance of the DirectXException class.

Definition

Visual Basic Protected Sub New( _
    ByVal info As SerializationInfo, _
    ByVal context As StreamingContext _
)
C# protected DirectXException(
    SerializationInfo info,
    StreamingContext context
);
C++ protected:
 DirectXException(
    SerializationInfoinfo,
    StreamingContext context
);
JScript protected function DirectXException(
    info : SerializationInfo,
    context : StreamingContext
);

Parameters

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

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