Show / Hide Table of Contents

Class SerializationException

Represents serialization errors that occur during serialization and deserialization.

Inheritance
Object
Exception
SerializationException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
Exception.GetObjectData(SerializationInfo, StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
Exception.HelpLink
System.Exception.Source
Exception.HResult
System.Exception.SerializeObjectState
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
Object.MemberwiseClone()
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.

Extension Methods

ObjectExtensions.DeepClone<T>(T)
ExceptionExtensions.GetSleepDuration(Exception, TimeSpan)
AnnotationsExtensions.IsValid(Object)
Back to top Generated by DocFX