MessageSecurityException Constructor (SerializationInfo^, StreamingContext)

 

Initializes a new instance of the MessageSecurityException class from the specified instances of the SerializationInfo and StreamingContext classes.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected:
MessageSecurityException(
	SerializationInfo^ info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo^

A SerializationInfo instance that contains the information required to serialize the new MessageSecurityException instance.

context
Type: System.Runtime.Serialization::StreamingContext

A StreamingContext that contains the source of the serialized stream associated with the new MessageSecurityException instance.

.NET Framework
Available since 3.0
Return to top
Show: