다음을 통해 공유


RuleSet.WithEffectiveAction(ReportDiagnostic) 메서드

정의

전역 유효 작업이 적용된 RuleSet을 만듭니다.

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

매개 변수

반환

적용 대상