Severity Severity Severity Severity Severity Severity Enum

Definition

Specifies the severity of a parser error in a language service.

public enum class Severity
public enum class Severity
enum Severity
public enum Severity
type Severity = 
Public Enum Severity
Inheritance
SeveritySeveritySeveritySeveritySeveritySeverity

Fields

Error Error Error Error Error Error 2

Indicates an error in parsing, however, parsing may have been able to continue.

Fatal Fatal Fatal Fatal Fatal Fatal 3

Indicates a fatal error in parsing that prevented any further parsing.

Hint Hint Hint Hint Hint Hint 0

Indicates a comment returned by the parser.

Warning Warning Warning Warning Warning Warning 1

Indicates a warning returned by the parser.

Remarks

The values in this enumeration are used to classify the warnings and errors that can come from a parser in a language service. All of the warnings and errors returned from a parsing operation are reported to the Error List Options window as ErrorTasks. The values listed here also determine what glyph to show next to each message.

The parser specifies the severity of an error in a call to the AddError method in the AuthoringSink class.

Applies to