Bridge

ObsoleteAttribute Constructor (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.

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

Syntax


public ObsoleteAttribute(
	string message,
	bool error
)
Public Sub New ( _
	message As String, _
	error As Boolean _
)
public:
ObsoleteAttribute(
	String^ message, 
	bool^ error
)

Parameters

message
Type: System..::..String
The text string that describes alternative workarounds.
error
Type: System..::..Boolean
The Boolean value that indicates whether the obsolete element usage is considered an error.