다음을 통해 공유


CodeAnalysisRuleSettings.DisableRule(String) Method

Definition

Excludes a rule from execution

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

Parameters

ruleId
String

Fully qualified Id for the rule

Exceptions

If the ruleId is null or whitespace

Applies to