Compartilhar via


Saml2SecurityTokenException Class

Definition

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

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

Constructors

Saml2SecurityTokenException()

Initializes a new instance of the Saml2SecurityTokenException class.

Saml2SecurityTokenException(SerializationInfo, StreamingContext)

Initializes a new instance of the Saml2SecurityTokenException class.

Saml2SecurityTokenException(String, Exception)

Initializes a new instance of the Saml2SecurityTokenException class.

Saml2SecurityTokenException(String)

Initializes a new instance of the Saml2SecurityTokenException 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