CompilationResult.CompilationFailures 属性

定义

获取 CompilationFailure通过分析或编译 Razor 文件生成的 。

public:
 property System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Diagnostics::CompilationFailure ^> ^ CompilationFailures { System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Diagnostics::CompilationFailure ^> ^ get(); };
public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Diagnostics.CompilationFailure> CompilationFailures { get; }
member this.CompilationFailures : seq<Microsoft.AspNetCore.Diagnostics.CompilationFailure>
Public ReadOnly Property CompilationFailures As IEnumerable(Of CompilationFailure)

属性值

注解

编译成功时,此属性为 null 。 空序列表示编译失败。

适用于