Class SAMLSerializationException
The exception that is thrown when a SAML serialization or deserialization operation fails.
Inherited Members
Namespace: ComponentSpace.SAML2.Exceptions
Assembly: ComponentSpace.Saml2.dll
Syntax
[Serializable]
public class SAMLSerializationException : SAMLException, ISerializable, _Exception
Constructors
SAMLSerializationException(SerializationInfo, StreamingContext)
Initializes a new instance of the SAMLSerializationException class.
Declaration
public SAMLSerializationException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The object that holds the serialized object data. |
| StreamingContext | context | The contextual information about the source or destination. |
SAMLSerializationException(string)
Initializes a new instance of the SAMLSerializationException class.
Declaration
public SAMLSerializationException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message. |
SAMLSerializationException(string, Exception)
Initializes a new instance of the SAMLSerializationException class.
Declaration
public SAMLSerializationException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message. |
| Exception | innerException | The inner exception. |