Share 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)

Initializes a new instance of the Saml2SecurityTokenException class.

Saml2SecurityTokenException(String, Exception)

Initializes a new instance of the Saml2SecurityTokenException class.

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