Mono Class Library: Overview

System.ObsoleteAttribute: Members

The members of System.ObsoleteAttribute are listed below.

See Also: Inherited members from System.Attribute

Public Constructors

Constructs and initializes a new instance of the ObsoleteAttribute class.
Constructs and initializes a new instance of the ObsoleteAttribute class with the specified string that contains suggested workarounds.
Constructs and initializes a new instance of the ObsoleteAttribute class with a string that contains suggested workarounds and a bool that indicates whether the compiler treats usage of the target of the current instance as an error.

Public Properties

[read-only]
IsErrorbool. Gets a bool that indicates whether the compiler treats usage of the target of the current instance as an error.
[read-only]
Messagestring. Gets a string that contains suggested workarounds for the target of the current instance.