Class SAMLSerializationException
The exception that is thrown when a SAML serialization or deserialization operation fails.
Inheritance
System.Object
System.Exception
System.ApplicationException
SAMLSerializationException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
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 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 |
---|---|---|
System. |
info | The object that holds the serialized object data. |
System. |
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 |
---|---|---|
System. |
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 |
---|---|---|
System. |
message | The message. |
System. |
innerException | The inner exception. |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception