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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.