InvalidMessageContractException Constructor (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Initializes a new instance of the InvalidMessageContractException class when deserializing from a stream into an object.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
protected:
InvalidMessageContractException(
SerializationInfo^ info,
StreamingContext context
)
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
The serialization information.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The stream from which to deserialize.
Creates a new InvalidMessageContractException object from the stream on deserialization.
.NET Framework
Available since 3.0
Available since 3.0
Show: