ObsoleteAttribute Constructor (String, Boolean)
Initializes a new instance of the ObsoleteAttribute class with a workaround message and a Boolean value indicating whether the obsolete element usage is considered an error.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
Parameters
- message
- Type: System..::..String
The text string that describes alternative workarounds.
- error
- Type: System..::..Boolean
The Boolean value that indicates whether the obsolete element usage is considered an error.