Compartilhar via


SecurityTokenNoExpirationException Constructors

Definition

Overloads

SecurityTokenNoExpirationException()

Initializes a new instance of the SecurityTokenNoExpirationException class.

SecurityTokenNoExpirationException(String)

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()

Initializes a new instance of the SecurityTokenNoExpirationException class.

public SecurityTokenNoExpirationException ();
Public Sub New ()

Applies to

SecurityTokenNoExpirationException(String)

Initializes a new instance of the SecurityTokenNoExpirationException class.

public SecurityTokenNoExpirationException (string message);
new Microsoft.IdentityModel.Tokens.SecurityTokenNoExpirationException : string -> Microsoft.IdentityModel.Tokens.SecurityTokenNoExpirationException
Public Sub New (message As String)

Parameters

message
String

Addtional information to be included in the exception and displayed to user.

Applies to

SecurityTokenNoExpirationException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenNoExpirationException class.

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

Parameters

info
SerializationInfo

the SerializationInfo that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

SecurityTokenNoExpirationException(String, Exception)

Initializes a new instance of the SecurityTokenNoExpirationException class.

public SecurityTokenNoExpirationException (string message, Exception innerException);
new Microsoft.IdentityModel.Tokens.SecurityTokenNoExpirationException : string * Exception -> Microsoft.IdentityModel.Tokens.SecurityTokenNoExpirationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Addtional information to be included in the exception and displayed to user.

innerException
Exception

A Exception that represents the root cause of the exception.

Applies to