Partager via


SecurityTokenException Class

Definition

Represents a security token exception.

[System.Serializable]
public class SecurityTokenException : Exception
[<System.Serializable>]
type SecurityTokenException = class
    inherit Exception
Public Class SecurityTokenException
Inherits Exception
Inheritance
SecurityTokenException
Derived
Attributes

Constructors

SecurityTokenException()

Initializes a new instance of the SecurityTokenException class.

SecurityTokenException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenException class.

SecurityTokenException(String, Exception)

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

SecurityTokenException(String)

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

Properties

Source

Gets or sets the source of the exception.

StackTrace

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

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

Applies to