SecurityTokenNotYetValidException Constructors

Definition

Initializes a new instance of the SecurityTokenNotYetValidException class.

Overloads

SecurityTokenNotYetValidException()

Initializes a new instance of the SecurityTokenNotYetValidException class.

SecurityTokenNotYetValidException(String)

Initializes a new instance of the SecurityTokenNotYetValidException class using the specified error message.

SecurityTokenNotYetValidException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenNotYetValidException class using the specified XML serialization data and contextual data about the source and destination of the serialization stream.

SecurityTokenNotYetValidException(String, Exception)

Initializes a new instance of the SecurityTokenNotYetValidException class using the specified error message and root cause of the error.

SecurityTokenNotYetValidException()

Initializes a new instance of the SecurityTokenNotYetValidException class.

public:
 SecurityTokenNotYetValidException();
public SecurityTokenNotYetValidException ();
Public Sub New ()

Applies to

SecurityTokenNotYetValidException(String)

Initializes a new instance of the SecurityTokenNotYetValidException class using the specified error message.

public:
 SecurityTokenNotYetValidException(System::String ^ message);
public SecurityTokenNotYetValidException (string message);
new System.IdentityModel.Tokens.SecurityTokenNotYetValidException : string -> System.IdentityModel.Tokens.SecurityTokenNotYetValidException
Public Sub New (message As String)

Parameters

message
String

A message that identifies the reason the exception occurred.

Applies to

SecurityTokenNotYetValidException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenNotYetValidException class using the specified XML serialization data and contextual data about the source and destination of the serialization stream.

protected:
 SecurityTokenNotYetValidException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SecurityTokenNotYetValidException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IdentityModel.Tokens.SecurityTokenNotYetValidException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IdentityModel.Tokens.SecurityTokenNotYetValidException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

A SerializationInfo that contains values that are used during serialization and deserialization.

context
StreamingContext

A SecurityTokenNotYetValidException that contains data about the source and destination of the serialization stream.

Applies to

SecurityTokenNotYetValidException(String, Exception)

Initializes a new instance of the SecurityTokenNotYetValidException class using the specified error message and root cause of the error.

public:
 SecurityTokenNotYetValidException(System::String ^ message, Exception ^ inner);
public SecurityTokenNotYetValidException (string message, Exception inner);
new System.IdentityModel.Tokens.SecurityTokenNotYetValidException : string * Exception -> System.IdentityModel.Tokens.SecurityTokenNotYetValidException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

A message that identifies the reason the exception occurred.

inner
Exception

An Exception that represents the root cause of the exception.

Applies to