9 [__DynamicallyInvokable]
12 private string _message;
18 [__DynamicallyInvokable]
21 [__DynamicallyInvokable]
31 [__DynamicallyInvokable]
34 [__DynamicallyInvokable]
42 [__DynamicallyInvokable]
51 [__DynamicallyInvokable]
62 [__DynamicallyInvokable]
Marks the program elements that are no longer in use. This class cannot be inherited.
string Message
Gets the workaround message, including a description of the alternative program elements.
Represents the base class for custom attributes.
ObsoleteAttribute(string message, bool error)
Initializes a new instance of the T:System.ObsoleteAttribute class with a workaround message and a Bo...
ObsoleteAttribute(string message)
Initializes a new instance of the T:System.ObsoleteAttribute class with a specified workaround messag...
ObsoleteAttribute()
Initializes a new instance of the T:System.ObsoleteAttribute class with default properties.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
bool IsError
Gets a Boolean value indicating whether the compiler will treat usage of the obsolete program element...
Specifies that the class can be serialized.