DiagnosticMessage Class
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.
A single diagnostic message.
public ref class DiagnosticMessage
public class DiagnosticMessage
type DiagnosticMessage = class
Public Class DiagnosticMessage
- Inheritance
-
DiagnosticMessage
Diagnostic |
Initializes a new instance of DiagnosticMessage. |
End |
Gets the zero-based column index for the end of the compilation error. |
End |
Gets the one-based line index for the end of the compilation error. |
Formatted |
Gets the formatted error message. |
Message |
Gets the error message. |
Source |
Path of the file that produced the message. |
Start |
Gets the zero-based column index for the start of the compilation error. |
Start |
Gets the one-based line index for the start of the compilation error. |
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |