Class SamlErrorStatusException
The exception that is thrown when a SAML error status is returned in a response message.
Implements
Inherited Members
Namespace: ComponentSpace.Saml2.Exceptions
Assembly: ComponentSpace.Saml2.dll
Syntax
public class SamlErrorStatusException : SamlException, ISerializable
Constructors
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 error message. |
Status | status | The SAML status. |
SamlErrorStatusException(string, Status, Exception)
Initializes a new instance of the SamlEnvironmentException
class.
Declaration
public SamlErrorStatusException(string message, Status status, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message. |
Status | status | The SAML status. |
Exception | innerException | The inner exception. |
Properties
Status
Gets the status code.
Declaration
public Status Status { get; }
Property Value
Type | Description |
---|---|
Status | The status code. |