Compartilhar via


SecurityTokenValidationException Class

Definition

Represents a security token validation exception.

[System.Serializable]
public class SecurityTokenValidationException : Microsoft.IdentityModel.Tokens.SecurityTokenException
[<System.Serializable>]
type SecurityTokenValidationException = class
    inherit SecurityTokenException
Public Class SecurityTokenValidationException
Inherits SecurityTokenException
Inheritance
SecurityTokenValidationException
Derived
Attributes

Constructors

SecurityTokenValidationException()

Initializes a new instance of the SecurityTokenValidationException class.

SecurityTokenValidationException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenValidationException class.

SecurityTokenValidationException(String, Exception)

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

SecurityTokenValidationException(String)

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

Properties

Source

Gets or sets the source of the exception.

(Inherited from SecurityTokenException)
StackTrace

Gets the stack trace that is captured when the exception is created.

(Inherited from SecurityTokenException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.

(Inherited from SecurityTokenException)

Applies to