Partilhar via


SecurityTokenDecryptionFailedException Constructors

Definition

Overloads

SecurityTokenDecryptionFailedException()

Initializes a new instance of the SecurityTokenDecryptionFailedException class.

SecurityTokenDecryptionFailedException(String)

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

SecurityTokenDecryptionFailedException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenDecryptionFailedException class.

SecurityTokenDecryptionFailedException(String, Exception)

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

SecurityTokenDecryptionFailedException()

Initializes a new instance of the SecurityTokenDecryptionFailedException class.

public SecurityTokenDecryptionFailedException ();
Public Sub New ()

Applies to

SecurityTokenDecryptionFailedException(String)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

SecurityTokenDecryptionFailedException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenDecryptionFailedException class.

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

SecurityTokenDecryptionFailedException(String, Exception)

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

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