The constructors of System.ObsoleteAttribute are listed below. For a list of all members, see the ObsoleteAttribute Members list.
See Also: Inherited members from System.Attribute
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.