Compartilhar via


SecurityTokenKeyWrapException Class

Definition

Represents a key wrap exception when encryption failed.

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

Constructors

SecurityTokenKeyWrapException()

Initializes a new instance of the SecurityTokenKeyWrapException class.

SecurityTokenKeyWrapException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenKeyWrapException class.

SecurityTokenKeyWrapException(String, Exception)

Initializes a new instance of the SecurityTokenKeyWrapException class with a specified error message and a reference to the inner exception that is the cause of this exception.

SecurityTokenKeyWrapException(String)

Initializes a new instance of the SecurityTokenKeyWrapException class with a specified error message.

Properties

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.

(Inherited from SecurityTokenException)

Applies to