MessageSecurityException Constructor (SerializationInfo, StreamingContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: