Udostępnij za pośrednictwem


CompilationFailure Konstruktory

Definicja

Przeciążenia

CompilationFailure(String, String, String, IEnumerable<DiagnosticMessage>)

Inicjuje nowe wystąpienie klasy CompilationFailure.

CompilationFailure(String, String, String, IEnumerable<DiagnosticMessage>, String)

Inicjuje nowe wystąpienie klasy CompilationFailure.

CompilationFailure(String, String, String, IEnumerable<DiagnosticMessage>)

Źródło:
CompilationFailure.cs
Źródło:
CompilationFailure.cs
Źródło:
CompilationFailure.cs

Inicjuje nowe wystąpienie klasy CompilationFailure.

public:
 CompilationFailure(System::String ^ sourceFilePath, System::String ^ sourceFileContent, System::String ^ compiledContent, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Diagnostics::DiagnosticMessage ^> ^ messages);
public CompilationFailure (string sourceFilePath, string sourceFileContent, string compiledContent, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Diagnostics.DiagnosticMessage> messages);
public CompilationFailure (string? sourceFilePath, string? sourceFileContent, string? compiledContent, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Diagnostics.DiagnosticMessage>? messages);
new Microsoft.AspNetCore.Diagnostics.CompilationFailure : string * string * string * seq<Microsoft.AspNetCore.Diagnostics.DiagnosticMessage> -> Microsoft.AspNetCore.Diagnostics.CompilationFailure
Public Sub New (sourceFilePath As String, sourceFileContent As String, compiledContent As String, messages As IEnumerable(Of DiagnosticMessage))

Parametry

sourceFilePath
String

Ścieżka pliku, który spowodował błąd kompilacji.

sourceFileContent
String

Zawartość kompilowanego pliku.

compiledContent
String

W przypadku języków szablonów (takich jak Asp.Net Core Razor) wygenerowana zawartość.

messages
IEnumerable<DiagnosticMessage>

DiagnosticMessage Co najmniej jedno wystąpienie.

Dotyczy

CompilationFailure(String, String, String, IEnumerable<DiagnosticMessage>, String)

Źródło:
CompilationFailure.cs
Źródło:
CompilationFailure.cs
Źródło:
CompilationFailure.cs

Inicjuje nowe wystąpienie klasy CompilationFailure.

public:
 CompilationFailure(System::String ^ sourceFilePath, System::String ^ sourceFileContent, System::String ^ compiledContent, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Diagnostics::DiagnosticMessage ^> ^ messages, System::String ^ failureSummary);
public CompilationFailure (string sourceFilePath, string sourceFileContent, string compiledContent, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Diagnostics.DiagnosticMessage> messages, string failureSummary);
public CompilationFailure (string? sourceFilePath, string? sourceFileContent, string? compiledContent, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Diagnostics.DiagnosticMessage?>? messages, string? failureSummary);
new Microsoft.AspNetCore.Diagnostics.CompilationFailure : string * string * string * seq<Microsoft.AspNetCore.Diagnostics.DiagnosticMessage> * string -> Microsoft.AspNetCore.Diagnostics.CompilationFailure
Public Sub New (sourceFilePath As String, sourceFileContent As String, compiledContent As String, messages As IEnumerable(Of DiagnosticMessage), failureSummary As String)

Parametry

sourceFilePath
String

Ścieżka pliku, który spowodował błąd kompilacji.

sourceFileContent
String

Zawartość kompilowanego pliku.

compiledContent
String

W przypadku języków szablonów (takich jak Asp.Net Core Razor) wygenerowana zawartość.

messages
IEnumerable<DiagnosticMessage>

DiagnosticMessage Co najmniej jedno wystąpienie.

failureSummary
String

Komunikat podsumowania lub instrukcje dotyczące rozwiązania błędu.

Dotyczy