Initializes a new instance of FormatException with a specified message.
[Visual Basic] Overloads Public Sub New( _ ByVal message As String _ ) [C#] public FormatException( string message ); [C++] public: FormatException( String* message ); [JScript] public function FormatException( message : String );
FormatException inherits from the Exception class. This constructor sets the properties of the Exception object as follows:
Property Type | Condition |
---|---|
InnerException | null |
Message | The message string. |
FormatException Class | FormatException Members | System Namespace | FormatException Constructor Overload List