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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.