Partager via


RuleSet.WithEffectiveAction(ReportDiagnostic) Méthode

Définition

Créez un RuleSet avec une action globale efficace appliquée à celui-ci.

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

Paramètres

Retours

S’applique à