This documentation is archived and is not being maintained.

SuppressMessageAttribute Members

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
Public method Supported by the .NET Compact Framework Supported by the XNA Framework SuppressMessageAttribute Initializes a new instance of the SuppressMessageAttribute class, specifying the category of the static analysis tool and the identifier for an analysis rule.
Top

  Name Description
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Category Gets the category identifying the classification of the attribute.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CheckId Gets the identifier of the static analysis tool rule to be suppressed.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Justification Gets or sets the justification for suppressing the code analysis message.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework MessageId Gets or sets an optional argument expanding on exclusion criteria.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Scope Gets or sets the scope of the code that is relevant for the attribute.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Target Gets or sets a fully qualified path that represents the target of the attribute.
Public property TypeId  When implemented in a derived class, gets a unique identifier for this Attribute.(inherited from Attribute)
Top

  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Returns a value indicating whether two instances of Attribute represent the same value. (inherited from Attribute)
Public method Static Supported by the .NET Compact Framework GetCustomAttribute  Overloaded. Retrieves a custom attribute of a specified type applied to an assembly, module, type member, or method parameter. (inherited from Attribute)
Public method Static Supported by the .NET Compact Framework GetCustomAttributes  Overloaded. Retrieves an array of the custom attributes applied to an assembly, module, type member, or method parameter. (inherited from Attribute)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Returns the hash code for this instance. (inherited from Attribute)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method 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)
Public method Static Supported by the .NET Compact Framework 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)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Match  When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (inherited from Attribute)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top
Show: