Sdílet prostřednictvím


SecurityTokenUnableToValidateException Constructors

Definition

Overloads

SecurityTokenUnableToValidateException()

Initializes a new instance of the SecurityTokenSignatureKeyNotFoundException class.

SecurityTokenUnableToValidateException(String)

Initializes a new instance of the SecurityTokenSignatureKeyNotFoundException class.

SecurityTokenUnableToValidateException(ValidationFailure, String)

Initializes a new instance of the SecurityTokenSignatureKeyNotFoundException class.

SecurityTokenUnableToValidateException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenSignatureKeyNotFoundException class.

SecurityTokenUnableToValidateException(String, Exception)

Initializes a new instance of the SecurityTokenSignatureKeyNotFoundException class.

SecurityTokenUnableToValidateException()

Initializes a new instance of the SecurityTokenSignatureKeyNotFoundException class.

public SecurityTokenUnableToValidateException ();
Public Sub New ()

Applies to

SecurityTokenUnableToValidateException(String)

Initializes a new instance of the SecurityTokenSignatureKeyNotFoundException class.

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

Parameters

message
String

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

Applies to

SecurityTokenUnableToValidateException(ValidationFailure, String)

Initializes a new instance of the SecurityTokenSignatureKeyNotFoundException class.

public SecurityTokenUnableToValidateException (Microsoft.IdentityModel.Tokens.ValidationFailure validationFailure, string message);
new Microsoft.IdentityModel.Tokens.SecurityTokenUnableToValidateException : Microsoft.IdentityModel.Tokens.ValidationFailure * string -> Microsoft.IdentityModel.Tokens.SecurityTokenUnableToValidateException
Public Sub New (validationFailure As ValidationFailure, message As String)

Parameters

validationFailure
ValidationFailure

The validation failures.

message
String

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

Applies to

SecurityTokenUnableToValidateException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenSignatureKeyNotFoundException class.

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

SecurityTokenUnableToValidateException(String, Exception)

Initializes a new instance of the SecurityTokenSignatureKeyNotFoundException class.

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