MalformedLineException Constructor (String^, Int64)
.NET Framework (current version)
Initializes a new instance of the MalformedLineException class with a specified error message and a line number.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Parameters
- message
-
Type:
System::String^
The message for the exception.
- lineNumber
-
Type:
System::Int64
The line number of the malformed line.
The content of the message parameter is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture. The lineNumber parameter initializes the LineNumber property.
MalformedLineException inherits from the Exception. This constructor sets the properties of the Exception object as shown in the following table.
Property | Value |
A null reference (Nothing in Visual Basic) | |
The message string. |
.NET Framework
Available since 2.0
Available since 2.0
Show: