Compartir a través de


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 (
         string message
)

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, 4.1, and 4.2.

See Also

Reference

ObsoleteAttribute Class
ObsoleteAttribute Members
System Namespace