DirectXException.DirectXException(SerializationInfo,StreamingContext) Constructor (Microsoft.DirectX)
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(
SerializationInfo^ info,
StreamingContext context
);JScript protected function DirectXException(
info : SerializationInfo,
context : StreamingContext
);
Parameters
info System.Runtime.Serialization.SerializationInfo
A SerializationInfo object that contains serialization information for the current exception.context System.Runtime.Serialization.StreamingContext
A StreamingContext object that contains the context for the current exception.