Share via


CompilationResult.CompilationFailures Property

Definition

Gets the CompilationFailures produced from parsing or compiling the Razor file.

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)

Property Value

Remarks

This property is null when compilation succeeded. An empty sequence indicates a failed compilation.

Applies to