Partilhar via


RuleSet.WithEffectiveAction(ReportDiagnostic) Método

Definição

Crie um RuleSet com uma ação global efetiva aplicada a ele.

public:
 Microsoft::CodeAnalysis::RuleSet ^ WithEffectiveAction(Microsoft::CodeAnalysis::ReportDiagnostic action);
public Microsoft.CodeAnalysis.RuleSet WithEffectiveAction (Microsoft.CodeAnalysis.ReportDiagnostic action);
public Microsoft.CodeAnalysis.RuleSet? WithEffectiveAction (Microsoft.CodeAnalysis.ReportDiagnostic action);
member this.WithEffectiveAction : Microsoft.CodeAnalysis.ReportDiagnostic -> Microsoft.CodeAnalysis.RuleSet
Public Function WithEffectiveAction (action As ReportDiagnostic) As RuleSet

Parâmetros

Retornos

Aplica-se a