다음을 통해 공유


CompilationFailure 생성자

정의

오버로드

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

CompilationFailure의 새 인스턴스를 초기화합니다.

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

CompilationFailure의 새 인스턴스를 초기화합니다.

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

Source:
CompilationFailure.cs
Source:
CompilationFailure.cs
Source:
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>

하나 이상의 DiagnosticMessage 인스턴스.

적용 대상

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

Source:
CompilationFailure.cs
Source:
CompilationFailure.cs
Source:
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>

하나 이상의 DiagnosticMessage 인스턴스.

failureSummary
String

오류를 해결하기 위한 요약 메시지 또는 지침입니다.

적용 대상