CompilerError Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應