Share via


SamlSecurityTokenException Class

Definition

This exception is thrown when a security is missing an ExpirationTime.

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

Constructors

SamlSecurityTokenException()

Initializes a new instance of the SamlSecurityTokenException class.

SamlSecurityTokenException(SerializationInfo, StreamingContext)

Initializes a new instance of the SamlSecurityTokenException class.

SamlSecurityTokenException(String)

Initializes a new instance of the SamlSecurityTokenException class.

SamlSecurityTokenException(String, Exception)

Initializes a new instance of the SamlSecurityTokenException class.

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