RuleSeverity

Use these constants with the RuleConfiguration.Severity property.

  • RuleSeverity_Default –(Value: 3) Specifies the default severity the rule defines.
  • RuleSeverity_Error –(Value: 0) Indicates that the analysis message reflects an error.
  • RuleSeverity_Information –(Value: 2) Indicates that the analysis message contains information that is neither a warning nor an error.
  • RuleSeverity_Unknown –(Value: 4) Do not use this value.
  • RuleSeverity_Warning –(Value: 1) Indicates that the analysis message reflects a warning.

See Also

RuleConfiguration.Severity