Mono Class Library: System.ObsoleteAttribute Overview | Members

System.ObsoleteAttribute Constructor

Constructs and initializes a new instance of the ObsoleteAttribute class with the specified string that contains suggested workarounds.

public ObsoleteAttribute (string message)

Parameters

message
The string that contains suggested workarounds.

Remarks

This constructor is equivalent to ObsoleteAttribute (message , false ). The compiler does not treat an item with this attribute as an error.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0