Constructs and initializes a new instance of the ObsoleteAttribute class with the specified string that contains suggested workarounds.
- message
- The string that contains suggested workarounds.
This constructor is equivalent to ObsoleteAttribute (message , false ). The compiler does not treat an item with this attribute as an error.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0