CodeAnalysisRuleSettings.TreatRuleProblemAsError(String) Method

Definition

Treat any problems found a rule as errors

public void TreatRuleProblemAsError (string ruleId);
member this.TreatRuleProblemAsError : string -> unit
Public Sub TreatRuleProblemAsError (ruleId As String)

Parameters

ruleId
String

Fully qualified Id for the rule

Exceptions

If the ruleId is null or whitespace

Applies to