Поделиться через


DiagnosticMessage(String, String, String, Int32, Int32, Int32, Int32) Конструктор

Определение

Инициализирует новый экземпляр 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)

Параметры

message
String

Сообщение об ошибке.

formattedMessage
String

Форматированное сообщение об ошибке.

filePath
String

Путь к файлу, который создал сообщение.

startLine
Int32

Индекс одной строки для начала ошибки компиляции.

startColumn
Int32

Отсчитываемый от нуля индекс столбца для начала ошибки компиляции.

endLine
Int32

Индекс одной строки для конца ошибки компиляции.

endColumn
Int32

Отсчитываемый от нуля индекс столбца для конца ошибки компиляции.

Применяется к