ObsoleteAttribute Constructor

ObsoleteAttribute Constructor

 

Initializes a new instance of the ObsoleteAttribute class.

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

NameDescription
System_CAPS_pubmethodObsoleteAttribute()

Initializes a new instance of the ObsoleteAttribute class with default properties.

System_CAPS_pubmethodObsoleteAttribute(String)

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

System_CAPS_pubmethodObsoleteAttribute(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.

Return to top
Show:
© 2016 Microsoft