ObsoleteAttribute Constructor (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the ObsoleteAttribute class with a specified workaround message.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public:
ObsoleteAttribute(
	String^ message
)

Parameters

message
Type: System..::..String
The text string that describes alternative workarounds.

The following table shows the initial property values for an instance of ObsoleteAttribute.

Property

Value

IsError

false.

Message

The workaround message.

Show: