Modifier

Partager via


SecurityTokenValidationException Constructors

Definition

Initializes a new instance of the SecurityTokenValidationException class.

Overloads

SecurityTokenValidationException()

Initializes a new instance of the SecurityTokenValidationException class.

SecurityTokenValidationException(String)

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

SecurityTokenValidationException(SerializationInfo, StreamingContext)

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

SecurityTokenValidationException(String, Exception)

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

SecurityTokenValidationException()

Source:
SecurityTokenValidationException.cs
Source:
SecurityTokenValidationException.cs
Source:
SecurityTokenValidationException.cs

Initializes a new instance of the SecurityTokenValidationException class.

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

Applies to

SecurityTokenValidationException(String)

Source:
SecurityTokenValidationException.cs
Source:
SecurityTokenValidationException.cs
Source:
SecurityTokenValidationException.cs

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

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

Parameters

message
String

A message that identifies the reason the exception occurred.

Applies to

SecurityTokenValidationException(SerializationInfo, StreamingContext)

Source:
SecurityTokenValidationException.cs
Source:
SecurityTokenValidationException.cs
Source:
SecurityTokenValidationException.cs

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

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

Applies to

SecurityTokenValidationException(String, Exception)

Source:
SecurityTokenValidationException.cs
Source:
SecurityTokenValidationException.cs
Source:
SecurityTokenValidationException.cs

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

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

Parameters

message
String

A message that identifies the reason the exception occurred.

innerException
Exception

An Exception that represents the root cause of the exception.

Applies to