PostSharp5.0//API Reference/Post­Sharp.​Serialization Namespace/Portable­Serialization­Exception Class

PortableSerializationException Class

Exception thrown by the PortableFormatter.
Inheritance Hierarchy
System.Object
  System.Exception
    PostSharp.Serialization.PortableSerializationException

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
[SerializableAttribute]
public class PortableSerializationException : Exception

The PortableSerializationException type exposes the following members.

Constructors
  NameDescription
Public methodPortableSerializationException()
Initializes a new PortableSerializationException.
Public methodPortableSerializationException(String)
Initializes a new PortableSerializationException and specifies the message.
Protected methodPortableSerializationException(SerializationInfo, StreamingContext)
Deserialization constructor.
Public methodPortableSerializationException(String, Exception)
Initializes a new PortableSerializationException and specifies the message and inner exception.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also