Condividi tramite


CompilationFailure Costruttori

Definizione

Overload

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

Inizializza una nuova istanza di CompilationFailure.

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

Inizializza una nuova istanza di CompilationFailure.

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

Origine:
CompilationFailure.cs
Origine:
CompilationFailure.cs
Origine:
CompilationFailure.cs

Inizializza una nuova istanza di 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))

Parametri

sourceFilePath
String

Percorso del file che ha generato l'errore di compilazione.

sourceFileContent
String

Contenuto del file in fase di compilazione.

compiledContent
String

Per le lingue con modelli (ad esempio Asp.Net Core Razor), il contenuto generato.

messages
IEnumerable<DiagnosticMessage>

Una o più DiagnosticMessage istanze.

Si applica a

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

Origine:
CompilationFailure.cs
Origine:
CompilationFailure.cs
Origine:
CompilationFailure.cs

Inizializza una nuova istanza di 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)

Parametri

sourceFilePath
String

Percorso del file che ha generato l'errore di compilazione.

sourceFileContent
String

Contenuto del file in fase di compilazione.

compiledContent
String

Per le lingue con modelli (ad esempio Asp.Net Core Razor), il contenuto generato.

messages
IEnumerable<DiagnosticMessage>

Una o più DiagnosticMessage istanze.

failureSummary
String

Messaggio di riepilogo o istruzioni per correggere l'errore.

Si applica a