-api-id | -api-type |
---|---|
M:Windows.Foundation.Metadata.DeprecatedAttribute.#ctor(System.String,Windows.Foundation.Metadata.DeprecationType,System.UInt32,System.Type) |
winrt constructor |
Windows.Foundation.Metadata.DeprecatedAttribute.#ctor(System.String,Windows.Foundation.Metadata.DeprecationType,System.UInt32,System.Type)
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.
The type of the API contract implementing the deprecated type or member.
DeprecatedAttribute(String, DeprecationType, UInt32, Platform), DeprecatedAttribute(String, DeprecationType, UInt32, String), DeprecatedAttribute(String, DeprecationType, UInt32)