UnconditionalSuppressMessageAttribute(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.