CodeAnalysisRuleSettings.TreatRuleProblemAsWarning(String) Method

Definition

Treat any problems found a rule as warnings

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

Parameters

ruleId
String

Fully qualified Id for the rule

Exceptions

If the ruleId is null or whitespace

Applies to