Severity EnumerationSeverity EnumerationSeverity Enumeration
Specifies the severity of a compilation error event.
The SeveritySeveritySeverity
type exposes the following members.
Members
Member | Description | |
---|---|---|
![]() | ErrorErrorError | The error is unrecoverable. |
![]() | WarningWarningWarning | The error is recoverable. |
Remarks
The SeveritySeveritySeverity enumeration is used by CompilationErrorEventArgsCompilationErrorEventArgsCompilationErrorEventArgs to describe the severity of an event which occurred during compilation. The compiler is able to attempt recovery from warnings, while errors are considered fatal.
Whilst a fatal error is unrecoverable (the query cannot be compiled), if the error is ignored then processing can continue to allow more than one fatal error to be reported.