Redigera

Dela via


CompilerError Constructors

Definition

Initializes a new instance of the CompilerError class.

Overloads

CompilerError()

Initializes a new instance of the CompilerError class.

CompilerError(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.

CompilerError()

Source:
CompilerError.cs
Source:
CompilerError.cs
Source:
CompilerError.cs
Source:
CompilerError.cs

Initializes a new instance of the CompilerError class.

public:
 CompilerError();
public CompilerError ();
Public Sub New ()

Applies to

CompilerError(String, Int32, Int32, String, String)

Source:
CompilerError.cs
Source:
CompilerError.cs
Source:
CompilerError.cs
Source:
CompilerError.cs

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

public:
 CompilerError(System::String ^ fileName, int line, int column, System::String ^ errorNumber, System::String ^ errorText);
public CompilerError (string fileName, int line, int column, string errorNumber, string errorText);
new System.CodeDom.Compiler.CompilerError : string * int * int * string * string -> System.CodeDom.Compiler.CompilerError
Public Sub New (fileName As String, line As Integer, column As Integer, errorNumber As String, errorText As String)

Parameters

fileName
String

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

line
Int32

The line of the source of the error.

column
Int32

The column of the source of the error.

errorNumber
String

The error number of the error.

errorText
String

The error message text.

Applies to