StaticContextSettings.CompilationError EventStaticContextSettings.CompilationError EventStaticContextSettings::CompilationError Event

Occurs when a compilation error is encountered.

Syntax

Public Event CompilationError As EventHandler(Of CompilationErrorEventArgs)
public event EventHandler<CompilationErrorEventArgs> CompilationError
public:
event EventHandler<CompilationErrorEventArgs^>^ CompilationError {
    void add(EventHandler<CompilationErrorEventArgs^>^ value);
    void remove(EventHandler<CompilationErrorEventArgs^>^ value);
}
 

Remarks

If the event is not registered, the first compilation error will cause an exception to be raised.