CompilationFailure コンストラクター

定義

オーバーロード

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

CompilationFailure の新しいインスタンスを初期化します。

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

CompilationFailure の新しいインスタンスを初期化します。

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

ソース:
CompilationFailure.cs
ソース:
CompilationFailure.cs
ソース:
CompilationFailure.cs

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))

パラメーター

sourceFilePath
String

コンパイルエラーを発生させたファイルのパス。

sourceFileContent
String

コンパイルされるファイルの内容。

compiledContent
String

テンプレート化された言語 (Asp.Net Core Razor など) の場合、生成されたコンテンツ。

messages
IEnumerable<DiagnosticMessage>

1 つ以上 DiagnosticMessage のインスタンス。

適用対象

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

ソース:
CompilationFailure.cs
ソース:
CompilationFailure.cs
ソース:
CompilationFailure.cs

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)

パラメーター

sourceFilePath
String

コンパイルエラーを発生させたファイルのパス。

sourceFileContent
String

コンパイルされるファイルの内容。

compiledContent
String

テンプレート化された言語 (Asp.Net Core Razor など) の場合、生成されたコンテンツ。

messages
IEnumerable<DiagnosticMessage>

1 つ以上 DiagnosticMessage のインスタンス。

failureSummary
String

エラーを修正するための概要メッセージまたは手順。

適用対象