CompilerError Constructor (String^, Int32, Int32, String^, String^)

 

Initializes a new instance of the CompilerError class using the specified file name, line, column, error number, and error text.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

public:
CompilerError(
	String^ fileName,
	int line,
	int column,
	String^ errorNumber,
	String^ errorText
)

Parameters

fileName
Type: System::String^

The file name of the file that the compiler was compiling when it encountered the error.

line
Type: System::Int32

The line of the source of the error.

column
Type: System::Int32

The column of the source of the error.

errorNumber
Type: System::String^

The error number of the error.

errorText
Type: System::String^

The error message text.

.NET Framework
Available since 1.1
Return to top
Show: