BadFormatException.BadFormatException(SerializationInfo,StreamingContext) Constructor (Microsoft.DirectX.DirectSound)
Initializes a new instance of the BadFormatException class.
Definition
Visual Basic Protected Sub New( _
ByVal info As SerializationInfo, _
ByVal context As StreamingContext _
)C# protected BadFormatException(
SerializationInfo info,
StreamingContext context
);C++ protected:
BadFormatException(
SerializationInfo^ info,
StreamingContext context
);JScript protected function BadFormatException(
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.