Class SerializationException
Represents serialization errors that occur during serialization and deserialization.
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.Source
System.Exception.SerializeObjectState
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
Namespace: IRM.Messaging
Assembly: IRM.dll
Syntax
[Serializable]
public class SerializationException : Exception, ISerializable, _Exception
Constructors
SerializationException()
Initializes a new instance of the SerializationException class.
Declaration
public SerializationException()
SerializationException(SerializationInfo, StreamingContext)
Initializes a new instance of the SerializationException class.
Declaration
public SerializationException(SerializationInfo info, StreamingContext context)
Parameters
SerializationInfo
info
The SerializationInfo that holds the serialized object data of the exception being thrown. |
StreamingContext
context
The StreamingContext that contains contextual information about the source or destination. |
SerializationException(String)
Initializes a new instance of the SerializationException class.
Declaration
public SerializationException(string message)
Parameters
String
message
The message that describes the error. |
SerializationException(String, Exception)
Initializes a new instance of the SerializationException class.
Declaration
public SerializationException(string message, Exception innerException)
Parameters
String
message
The message that describes the error. |
Exception
innerException
The message that is the cause of the current exception. |