Class SAMLErrorStatusException
The exception that is thrown when a SAML error status is returned in a response message.
Inheritance
System.Object
System.Exception
System.ApplicationException
SAMLErrorStatusException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.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 |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The serialization information. |
System.Runtime.Serialization.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 |
---|---|---|
System.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 |
---|---|---|
System.String | message | The message. |
System.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 |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The serialization information. |
System.Runtime.Serialization.StreamingContext | context | The streaming context. |
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception