DiagnosticMessage(String, String, String, Int32, Int32, Int32, Int32) Constructor
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 DiagnosticMessage.
public:
DiagnosticMessage(System::String ^ message, System::String ^ formattedMessage, System::String ^ filePath, int startLine, int startColumn, int endLine, int endColumn);
public DiagnosticMessage (string message, string formattedMessage, string filePath, int startLine, int startColumn, int endLine, int endColumn);
public DiagnosticMessage (string? message, string? formattedMessage, string? filePath, int startLine, int startColumn, int endLine, int endColumn);
new Microsoft.AspNetCore.Diagnostics.DiagnosticMessage : string * string * string * int * int * int * int -> Microsoft.AspNetCore.Diagnostics.DiagnosticMessage
Public Sub New (message As String, formattedMessage As String, filePath As String, startLine As Integer, startColumn As Integer, endLine As Integer, endColumn As Integer)
Parameters
- message
- String
The error message.
- formattedMessage
- String
The formatted error message.
- filePath
- String
The path of the file that produced the message.
- startLine
- Int32
The one-based line index for the start of the compilation error.
- startColumn
- Int32
The zero-based column index for the start of the compilation error.
- endLine
- Int32
The one-based line index for the end of the compilation error.
- endColumn
- Int32
The zero-based column index for the end of the compilation error.