-api-id | -api-type |
---|---|
M:Windows.Foundation.Metadata.DeprecatedAttribute.#ctor(System.String,Windows.Foundation.Metadata.DeprecationType,System.UInt32) |
winrt method |
Creates and initializes a new instance of the attribute.
A string message that can be used by compilers and other developer tools to explain the deprecation and provide the string names of alternate API.
A value of the enumeration. The default is Deprecate.
A constant that indicates the version that the deprecation applies to.
DeprecatedAttribute(String, DeprecationType, UInt32, Platform), DeprecatedAttribute(String, DeprecationType, UInt32, String), DeprecatedAttribute(String, DeprecationType, UInt32, Type)