SecurityTokenValidationException 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 SecurityTokenValidationException class using the specified XML serialization data and contextual data about the source and destination of the serialization stream.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected SecurityTokenValidationException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

A SerializationInfo that contains values that are used during serialization and deserialization.

context
Type: System.Runtime.Serialization.StreamingContext

A SecurityTokenValidationException that contains data about the source and destination of the serialization stream.

.NET Framework
Available since 3.0
Return to top
Show: