Share via


Saml2SecurityTokenReadException Constructors

Definition

Overloads

Saml2SecurityTokenReadException()

Initializes a new instance of the Saml2SecurityTokenReadException class.

Saml2SecurityTokenReadException(String)

Initializes a new instance of the Saml2SecurityTokenReadException class.

Saml2SecurityTokenReadException(SerializationInfo, StreamingContext)

Initializes a new instance of the Saml2SecurityTokenReadException class.

Saml2SecurityTokenReadException(String, Exception)

Initializes a new instance of the Saml2SecurityTokenReadException class.

Saml2SecurityTokenReadException()

Initializes a new instance of the Saml2SecurityTokenReadException class.

public Saml2SecurityTokenReadException ();
Public Sub New ()

Applies to

Saml2SecurityTokenReadException(String)

Initializes a new instance of the Saml2SecurityTokenReadException class.

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

Parameters

message
String

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

Applies to

Saml2SecurityTokenReadException(SerializationInfo, StreamingContext)

Initializes a new instance of the Saml2SecurityTokenReadException class.

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

Saml2SecurityTokenReadException(String, Exception)

Initializes a new instance of the Saml2SecurityTokenReadException class.

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