SerializationException Constructor (String)
Collapse the table of content
Expand the table of content

SerializationException Constructor (String)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the SerializationException class with a specified message.

Namespace:  System.Runtime.Serialization
Assembly:  mscorlib (in mscorlib.dll)

public SerializationException(
	string message
)

Parameters

message
Type: System.String
The reason why the exception occurred.

SerializationException inherits from the SystemException class. The following table shows initial property values for an instance of SerializationException initialized with the current constructor.

Property

Condition

InnerException

null

Message

The message string.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft