CompilationFailedException(IEnumerable<CompilationFailure>) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
執行個體化 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,包含編譯失敗的詳細資料。