Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft