SuppressMessageAttribute Members
.NET Framework 2.0
Suppresses reporting of a specific static analysis tool rule violation, allowing multiple suppressions on a single code artifact.
The following tables list the members exposed by the SuppressMessageAttribute type.
| Name | Description | |
|---|---|---|
| SuppressMessageAttribute | Initializes a new instance of the SuppressMessageAttribute class, specifying the category of the static analysis tool and the identifier for an analysis rule. |
| Name | Description | |
|---|---|---|
| Category | Gets the category identifying the classification of the attribute. |
| CheckId | Gets the identifier of the static analysis tool rule to be suppressed. |
| Justification | Gets or sets the justification for suppressing the code analysis message. |
| MessageId | Gets or sets an optional argument expanding on exclusion criteria. |
| Scope | Gets or sets the scope of the code that is relevant for the attribute. |
| Target | Gets or sets a fully qualified path that represents the target of the attribute. |
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute.(Inherited from Attribute.) |
| Name | Description | |
|---|---|---|
| Equals | Overloaded. (Inherited from Attribute.) |
| GetCustomAttribute | Overloaded. Retrieves a custom attribute of a specified type applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.) |
| GetCustomAttributes | Overloaded. Retrieves an array of the custom attributes applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.) |
| GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) |
| IsDefined | Overloaded. Determines whether any custom attributes of a specified type are applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.) |
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |