MalformedLineException Constructor (String^, Int64)

 

Initializes a new instance of the MalformedLineException class with a specified error message and a line number.

Namespace:   Microsoft.VisualBasic.FileIO
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
MalformedLineException(
	String^ message,
	long long lineNumber
)

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

InnerException

A null reference (Nothing in Visual Basic)

Message

The message string.

.NET Framework
Available since 2.0
Return to top
Show: