InvalidMessageContractException Constructor (SerializationInfo, StreamingContext)

 

Initializes a new instance of the InvalidMessageContractException class when deserializing from a stream into an object.

Namespace:   System.ServiceModel
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
Return to top
Show: