SamlSecurityTokenException Constructors

Definition

Overloads

SamlSecurityTokenException()

Initializes a new instance of the SamlSecurityTokenException class.

SamlSecurityTokenException(String)

Initializes a new instance of the SamlSecurityTokenException class.

SamlSecurityTokenException(SerializationInfo, StreamingContext)

Initializes a new instance of the SamlSecurityTokenException class.

SamlSecurityTokenException(String, Exception)

Initializes a new instance of the SamlSecurityTokenException class.

SamlSecurityTokenException()

Initializes a new instance of the SamlSecurityTokenException class.

public SamlSecurityTokenException ();
Public Sub New ()

Applies to

SamlSecurityTokenException(String)

Initializes a new instance of the SamlSecurityTokenException class.

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

Parameters

message
String

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

Applies to

SamlSecurityTokenException(SerializationInfo, StreamingContext)

Initializes a new instance of the SamlSecurityTokenException class.

protected SamlSecurityTokenException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.IdentityModel.Tokens.Saml.SamlSecurityTokenException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.IdentityModel.Tokens.Saml.SamlSecurityTokenException
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

SamlSecurityTokenException(String, Exception)

Initializes a new instance of the SamlSecurityTokenException class.

public SamlSecurityTokenException (string message, Exception innerException);
new Microsoft.IdentityModel.Tokens.Saml.SamlSecurityTokenException : string * Exception -> Microsoft.IdentityModel.Tokens.Saml.SamlSecurityTokenException
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