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

Name Description
SamlSecurityTokenException()

Initializes a new instance of the SamlSecurityTokenException class.

SamlSecurityTokenException(SerializationInfo, StreamingContext)

Initializes a new instance of the SamlSecurityTokenException class.

SamlSecurityTokenException(String, Exception)

Initializes a new instance of the SamlSecurityTokenException class.

SamlSecurityTokenException(String)

Initializes a new instance of the SamlSecurityTokenException class.

Properties

Name Description
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

Name Description
GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

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

(Inherited from SecurityTokenException)

Applies to