Edit

Share via


SecurityTokenExpiredException Constructors

Definition

Initializes a new instance of the SecurityTokenExpiredException class.

Overloads

SecurityTokenExpiredException()

Initializes a new instance of the SecurityTokenExpiredException class.

SecurityTokenExpiredException(String)

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

SecurityTokenExpiredException(SerializationInfo, StreamingContext)

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

SecurityTokenExpiredException(String, Exception)

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

SecurityTokenExpiredException()

Initializes a new instance of the SecurityTokenExpiredException class.

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

Applies to

SecurityTokenExpiredException(String)

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

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

Parameters

message
String

A message that identifies the reason the exception occurred.

Applies to

SecurityTokenExpiredException(SerializationInfo, StreamingContext)

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

protected:
 SecurityTokenExpiredException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SecurityTokenExpiredException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IdentityModel.Tokens.SecurityTokenExpiredException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IdentityModel.Tokens.SecurityTokenExpiredException
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 SecurityTokenExpiredException that contains data about the source and destination of the serialization stream.

Applies to

SecurityTokenExpiredException(String, Exception)

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

public:
 SecurityTokenExpiredException(System::String ^ message, Exception ^ inner);
public SecurityTokenExpiredException (string message, Exception inner);
new System.IdentityModel.Tokens.SecurityTokenExpiredException : string * Exception -> System.IdentityModel.Tokens.SecurityTokenExpiredException
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