Compartilhar via


SecurityTokenNoExpirationException Class

Definition

This exception is thrown when a security is missing an ExpirationTime.

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

Constructors

SecurityTokenNoExpirationException()

Initializes a new instance of the SecurityTokenNoExpirationException class.

SecurityTokenNoExpirationException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenNoExpirationException class.

SecurityTokenNoExpirationException(String, Exception)

Initializes a new instance of the SecurityTokenNoExpirationException class.

SecurityTokenNoExpirationException(String)

Initializes a new instance of the SecurityTokenNoExpirationException class.

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