Show / Hide Table of Contents

Class SAMLErrorStatusException

The exception that is thrown when a SAML error status is returned in a response message.

Inheritance
object
Exception
ApplicationException
SAMLException
SAMLErrorStatusException
Implements
ISerializable
_Exception
Inherited Members
Exception.GetBaseException()
Exception.ToString()
Exception.GetType()
Exception.Message
Exception.Data
Exception.InnerException
Exception.TargetSite
Exception.StackTrace
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Exceptions
Assembly: ComponentSpace.Saml2.dll
Syntax
[Serializable]
public class SAMLErrorStatusException : SAMLException, ISerializable, _Exception

Constructors

SAMLErrorStatusException(SerializationInfo, StreamingContext)

Initializes a new instance of the SAMLErrorStatusException class.

Declaration
public SAMLErrorStatusException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The serialization information.

StreamingContext context

The streaming context.

Remarks

This constructor supports serialization.

SAMLErrorStatusException(string, Status)

Initializes a new instance of the SAMLErrorStatusException class.

Declaration
public SAMLErrorStatusException(string message, Status status)
Parameters
Type Name Description
string message

The message.

Status status

The error status.

SAMLErrorStatusException(string, Exception, Status)

Initializes a new instance of the SAMLErrorStatusException class.

Declaration
public SAMLErrorStatusException(string message, Exception innerException, Status status)
Parameters
Type Name Description
string message

The message.

Exception innerException

The inner exception.

Status status

The error status.

Properties

Status

Gets the status code.

Declaration
public Status Status { get; }
Property Value
Type Description
Status

The status code.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serialize the SAML assertion.

Declaration
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The serialization information.

StreamingContext context

The streaming context.

Overrides
Exception.GetObjectData(SerializationInfo, StreamingContext)

Implements

ISerializable
_Exception
In this article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2025. All rights reserved.