Breyta

Deila með


UnconditionalSuppressMessageAttribute(String, String) Constructor

Definition

Initializes a new instance of the UnconditionalSuppressMessageAttribute class, specifying the category of the tool and the identifier for an analysis rule.

public:
 UnconditionalSuppressMessageAttribute(System::String ^ category, System::String ^ checkId);
public UnconditionalSuppressMessageAttribute (string category, string checkId);
new System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute : string * string -> System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute
Public Sub New (category As String, checkId As String)

Parameters

category
String

The category for the attribute.

checkId
String

The identifier of the analysis rule the attribute applies to.

Applies to