共用方式為


SecurityTokenNotYetValidException Class

Definition

Throw this exception when a received Security token has an effective time in the future.

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

Constructors

SecurityTokenNotYetValidException()

Initializes a new instance of SecurityTokenNotYetValidException

SecurityTokenNotYetValidException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenNotYetValidException class.

SecurityTokenNotYetValidException(String, Exception)

Initializes a new instance of SecurityTokenNotYetValidException

SecurityTokenNotYetValidException(String)

Initializes a new instance of SecurityTokenNotYetValidException

Properties

NotBefore

Gets or sets the NotBefore value that created the validation exception. This value is always in UTC.

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.

Applies to