Sdílet prostřednictvím


SecurityTokenInvalidAudienceException Constructors

Definition

Overloads

SecurityTokenInvalidAudienceException()

Initializes a new instance of the SecurityTokenInvalidAudienceException class.

SecurityTokenInvalidAudienceException(String)

Initializes a new instance of the SecurityTokenInvalidAudienceException class.

SecurityTokenInvalidAudienceException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenInvalidAudienceException class.

SecurityTokenInvalidAudienceException(String, Exception)

Initializes a new instance of the SecurityTokenInvalidAudienceException class.

SecurityTokenInvalidAudienceException()

Initializes a new instance of the SecurityTokenInvalidAudienceException class.

public SecurityTokenInvalidAudienceException ();
Public Sub New ()

Applies to

SecurityTokenInvalidAudienceException(String)

Initializes a new instance of the SecurityTokenInvalidAudienceException class.

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

Parameters

message
String

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

Applies to

SecurityTokenInvalidAudienceException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenInvalidAudienceException class.

protected SecurityTokenInvalidAudienceException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException
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

SecurityTokenInvalidAudienceException(String, Exception)

Initializes a new instance of the SecurityTokenInvalidAudienceException class.

public SecurityTokenInvalidAudienceException (string message, Exception innerException);
new Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException : string * Exception -> Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException
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