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包含编译失败的详细信息。

适用于