Represents an attribute that is attached to members that are not to be used any longer. Message is some human readable explanation of what to use. Error indicates whether the compiler should treat usage of such a method as an error.
Object
Attribute
ObsoleteAttribute
[Visual Basic] Public Class ObsoleteAttribute Inherits Attribute [C#] public class ObsoleteAttribute : Attribute [C++] public __gc class ObsoleteAttribute : public Attribute [JScript] public class ObsoleteAttribute extends Attribute
[To be supplied.]
Namespace: System
Assembly: mscorlib.dll