SecurityTokenException Constructor (SerializationInfo^, StreamingContext)

 

Initializes a new instance of the SecurityTokenException 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:
SecurityTokenException(
	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 SecurityTokenException that contains data about the source and destination of the serialization stream.

.NET Framework
Available since 3.0
Return to top
Show: