PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Serialization Namespace / Portable­Serialization­Exception Class / Portable­Serialization­Exception Constructor / Portable­Serialization­Exception Constructor (String, Exception)

PortableSerializationException Constructor (String, Exception)

Initializes a new PortableSerializationException and specifies the message and inner exception.

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public PortableSerializationException(
	string message,
	Exception inner
)

Parameters

message
Type: System.String
Message.
inner
Type: System.Exception
Inner exception.
See Also