ObsoleteAttribute Constructor (String)
Collapse the table of content
Expand the table of content

ObsoleteAttribute Constructor (String)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Public Sub New ( _
	message As String _
)

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft