共用方式為


CompilationFailedException(IEnumerable<CompilationFailure>) 建構函式

定義

執行個體化 CompilationFailedException 的新執行個體。

public:
 CompilationFailedException(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Diagnostics::CompilationFailure ^> ^ compilationFailures);
public CompilationFailedException (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Diagnostics.CompilationFailure> compilationFailures);
new Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException : seq<Microsoft.AspNetCore.Diagnostics.CompilationFailure> -> Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException
Public Sub New (compilationFailures As IEnumerable(Of CompilationFailure))

參數

compilationFailures
IEnumerable<CompilationFailure>

CompilationFailure,包含編譯失敗的詳細資料。

適用於