SecurityTokenInvalidAudienceException Class

Definition

This exception is thrown when 'audience' of a token was not valid.

[System.Serializable]
public class SecurityTokenInvalidAudienceException : Microsoft.IdentityModel.Tokens.SecurityTokenValidationException
[<System.Serializable>]
type SecurityTokenInvalidAudienceException = class
    inherit SecurityTokenValidationException
Public Class SecurityTokenInvalidAudienceException
Inherits SecurityTokenValidationException
Inheritance
SecurityTokenInvalidAudienceException
Attributes

Constructors

SecurityTokenInvalidAudienceException()

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

Initializes a new instance of the SecurityTokenInvalidAudienceException class.

Properties

InvalidAudience

Gets or sets the InvalidAudience that created the validation exception.

Source

Gets or sets the source of the exception.

(Inherited from SecurityTokenException)
StackTrace

Gets the stack trace that is captured when the exception is created.

(Inherited from SecurityTokenException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.

Applies to