Name

SerializationException

Synopsis

This class contains the exceptions thrown on serialization and deserialization errors.

public class SerializationException : SystemException {
// Public Constructors
   public SerializationException( );
   public SerializationException(string message);
   public SerializationException(string message, Exception innerException);
// Protected Constructors
   protected SerializationException(SerializationInfo info, StreamingContext context);
}

Hierarchy

System.Object System.Exception(ISerializable) System.SystemException SerializationException

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.