System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.UnconditionalSuppressMessageAttribute C# (CSharp) Method

UnconditionalSuppressMessageAttribute() public method

Initializes a new instance of the UnconditionalSuppressMessageAttribute class, specifying the category of the tool and the identifier for an analysis rule.
public UnconditionalSuppressMessageAttribute ( string category, string checkId )
category string The category for the attribute.
checkId string The identifier of the analysis rule the attribute applies to.
        public UnconditionalSuppressMessageAttribute(string category, string checkId)
        {
            Category = category;
            CheckId = checkId;
        }
UnconditionalSuppressMessageAttribute