NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SerializationException Constructor (String)

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

[Visual Basic]
Overloads Public Sub New( _
   ByVal message As String _
)
[C#]
public SerializationException(
   string message
);
[C++]
public: SerializationException(
   String* message
);
[JScript]
public function SerializationException(
   message : String
);

Parameters

message
The message that indicates the reason why the exception occurred.

Remarks

SerializationException inherits from the Exception class. This constructor sets the properties of the exception object as follows:

Property Type Condition
InnerException a null reference (in Visual Basic Nothing).
Message The message string.

See Also

SerializationException Class | SerializationException Members | System.Runtime.Serialization Namespace | SerializationException Constructor Overload List