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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.