Creates and initializes a new instance of the attribute.
public:
DeprecatedAttribute(
String^ message,
DeprecationType type,
uint32 version
)
message
Type: String
A string message that can be used by compilers and other developer tools to explain the deprecation and provide the string names of alternate APIs.
type
Type: DeprecationType
Indicates whether the entity should be treated as deprecated or removed.
version
Type: uint32
A constant that indicates the version that the deprecation applies to.
Namespace: Windows.Foundation.Metadata
Metadata: windows.winmd