DiagnosticMessage(String, String, String, Int32, Int32, Int32, Int32) Konstruktor
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy 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)
Parametry
- message
- String
Komunikat o błędzie.
- formattedMessage
- String
Sformatowany komunikat o błędzie.
- filePath
- String
Ścieżka pliku, który wygenerował komunikat.
- startLine
- Int32
Jeden oparty na indeksie liniowym rozpoczęcia błędu kompilacji.
- startColumn
- Int32
Indeks kolumny opartej na zera dla początku błędu kompilacji.
- endLine
- Int32
Indeks liniowy oparty na jednym końcu błędu kompilacji.
- endColumn
- Int32
Indeks kolumny opartej na zera dla końca błędu kompilacji.