Freigeben über


Saml2SecurityTokenException Constructors

Definition

Overloads

Saml2SecurityTokenException()

Initializes a new instance of the Saml2SecurityTokenException class.

Saml2SecurityTokenException(String)

Initializes a new instance of the Saml2SecurityTokenException class.

Saml2SecurityTokenException(SerializationInfo, StreamingContext)

Initializes a new instance of the Saml2SecurityTokenException class.

Saml2SecurityTokenException(String, Exception)

Initializes a new instance of the Saml2SecurityTokenException class.

Saml2SecurityTokenException()

Initializes a new instance of the Saml2SecurityTokenException class.

public Saml2SecurityTokenException ();
Public Sub New ()

Applies to

Saml2SecurityTokenException(String)

Initializes a new instance of the Saml2SecurityTokenException class.

public Saml2SecurityTokenException (string message);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenException : string -> Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenException
Public Sub New (message As String)

Parameters

message
String

Addtional information to be included in the exception and displayed to user.

Applies to

Saml2SecurityTokenException(SerializationInfo, StreamingContext)

Initializes a new instance of the Saml2SecurityTokenException class.

protected Saml2SecurityTokenException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

the SerializationInfo that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

Saml2SecurityTokenException(String, Exception)

Initializes a new instance of the Saml2SecurityTokenException class.

public Saml2SecurityTokenException (string message, Exception innerException);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenException : string * Exception -> Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityTokenException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Addtional information to be included in the exception and displayed to user.

innerException
Exception

A Exception that represents the root cause of the exception.

Applies to