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 );
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. |
SerializationException Class | SerializationException Members | System.Runtime.Serialization Namespace | SerializationException Constructor Overload List