ObsoleteAttribute Constructor (String)
Initializes a new instance of the ObsoleteAttribute class with a specified work-around message.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
public ObsoleteAttribute (
stringmessage
)
Parameters
- message
The text string that describes the available work-arounds (alternative approaches) for this situation.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
ObsoleteAttribute Class
ObsoleteAttribute Members
System Namespace