Partager via


SecurityTokenInvalidCloudInstanceException Class

Definition

This exception is thrown when the cloud instance of the signing key was not matched with the cloud instance from configuration.

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

Constructors

SecurityTokenInvalidCloudInstanceException()

Initializes a new instance of the SecurityTokenInvalidCloudInstanceException class.

SecurityTokenInvalidCloudInstanceException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenInvalidCloudInstanceException class.

SecurityTokenInvalidCloudInstanceException(String, Exception)

Initializes a new instance of the SecurityTokenInvalidCloudInstanceException class.

SecurityTokenInvalidCloudInstanceException(String)

Initializes a new instance of the SecurityTokenInvalidCloudInstanceException class.

Properties

ConfigurationCloudInstanceName

Gets or sets the cloud instance name from the configuration that did not match the cloud instance name of the signing key.

SigningKey

Gets or sets the SigningKey that was found invalid.

(Inherited from SecurityTokenInvalidSigningKeyException)
SigningKeyCloudInstanceName

Gets or sets the cloud instance name of the signing key 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