DeviceLostException.DeviceLostException(SerializationInfo,StreamingContext) Constructor (Microsoft.DirectX.Direct3D)
Initializes a new instance of the DeviceLostException class.
Definition
Visual Basic Protected Sub New( _
ByVal info As SerializationInfo, _
ByVal context As StreamingContext _
)C# protected DeviceLostException(
SerializationInfo info,
StreamingContext context
);C++ protected:
DeviceLostException(
SerializationInfo^ info,
StreamingContext context
);JScript protected function DeviceLostException(
info : SerializationInfo,
context : StreamingContext
);
Parameters
info System.Runtime.Serialization.SerializationInfo
A SerializationInfo object that holds all of the data needed to serialize or deserialize the object.context System.Runtime.Serialization.StreamingContext
A StreamingContext object that describes the source and destination serialized stream.