Share via


DeviceNotResetException.DeviceNotResetException(SerializationInfo,StreamingContext) Constructor (Microsoft.DirectX.Direct3D)

Initializes a new instance of the DeviceNotResetException class.

Definition

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

Parameters

info System.Runtime.Serialization.SerializationInfo
A SerializationInfoLeave Site object that holds all of the data needed to serialize or deserialize the object.
context System.Runtime.Serialization.StreamingContext
A StreamingContextLeave Site object that describes the source and destination serialized stream.