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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기