Sdílet prostřednictvím


CompilationFailure Konstruktory

Definice

Přetížení

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

Inicializuje novou instanci .CompilationFailure

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

Inicializuje novou instanci .CompilationFailure

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

Zdroj:
CompilationFailure.cs
Zdroj:
CompilationFailure.cs
Zdroj:
CompilationFailure.cs

Inicializuje novou instanci .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

Cesta k souboru, který způsoboval selhání kompilace.

sourceFileContent
String

Obsah kompilovaného souboru.

compiledContent
String

Vygenerovaný obsah pro jazyky vytvořené šablonou (například Asp.Net Core Razor).

messages
IEnumerable<DiagnosticMessage>

Jedna nebo více DiagnosticMessage instancí.

Platí pro

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

Zdroj:
CompilationFailure.cs
Zdroj:
CompilationFailure.cs
Zdroj:
CompilationFailure.cs

Inicializuje novou instanci .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

Cesta k souboru, který způsoboval selhání kompilace.

sourceFileContent
String

Obsah kompilovaného souboru.

compiledContent
String

Vygenerovaný obsah pro jazyky vytvořené šablonou (například Asp.Net Core Razor).

messages
IEnumerable<DiagnosticMessage>

Jedna nebo více DiagnosticMessage instancí.

failureSummary
String

Souhrnná zpráva nebo pokyny k opravě selhání

Platí pro