Share via


SecurityTokenMalformedException Constructors

Definition

Overloads

SecurityTokenMalformedException()

Initializes a new instance of the SecurityTokenMalformedException class.

SecurityTokenMalformedException(String)

Initializes a new instance of the SecurityTokenMalformedException class with a specified error message.

SecurityTokenMalformedException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenMalformedException class.

SecurityTokenMalformedException(String, Exception)

Initializes a new instance of the SecurityTokenMalformedException class with a specified error message and a reference to the inner exception that is the cause of this exception.

SecurityTokenMalformedException()

Initializes a new instance of the SecurityTokenMalformedException class.

public SecurityTokenMalformedException ();
Public Sub New ()

Applies to

SecurityTokenMalformedException(String)

Initializes a new instance of the SecurityTokenMalformedException class with a specified error message.

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

SecurityTokenMalformedException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenMalformedException class.

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

SecurityTokenMalformedException(String, Exception)

Initializes a new instance of the SecurityTokenMalformedException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The Exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Applies to