DeprecatedAttribute DeprecatedAttribute DeprecatedAttribute DeprecatedAttribute DeprecatedAttribute Constructors

Definition

Overloads

DeprecatedAttribute(String, DeprecationType, UInt32) DeprecatedAttribute(String, DeprecationType, UInt32) DeprecatedAttribute(String, DeprecationType, UInt32) DeprecatedAttribute(String, DeprecationType, UInt32) DeprecatedAttribute(String, DeprecationType, UInt32)

Creates and initializes a new instance of the attribute.

DeprecatedAttribute(String, DeprecationType, UInt32, Platform) DeprecatedAttribute(String, DeprecationType, UInt32, Platform) DeprecatedAttribute(String, DeprecationType, UInt32, Platform) DeprecatedAttribute(String, DeprecationType, UInt32, Platform) DeprecatedAttribute(String, DeprecationType, UInt32, Platform)

Creates and initializes a new instance of the attribute, including a Platform value for targeting.

DeprecatedAttribute(String, DeprecationType, UInt32, String) DeprecatedAttribute(String, DeprecationType, UInt32, String) DeprecatedAttribute(String, DeprecationType, UInt32, String) DeprecatedAttribute(String, DeprecationType, UInt32, String) DeprecatedAttribute(String, DeprecationType, UInt32, String)

Creates and initializes a new instance of the attribute.

DeprecatedAttribute(String, DeprecationType, UInt32) DeprecatedAttribute(String, DeprecationType, UInt32) DeprecatedAttribute(String, DeprecationType, UInt32) DeprecatedAttribute(String, DeprecationType, UInt32) DeprecatedAttribute(String, DeprecationType, UInt32)

Creates and initializes a new instance of the attribute.

public : DeprecatedAttribute(Platform::String message, DeprecationType type, unsigned int version)
DeprecatedAttribute(winrt::hstring message, DeprecationType type, uint32_t version) const;
public DeprecatedAttribute(String message, DeprecationType type, UInt32 version)
Public Sub New(message As String, type As DeprecationType, version As UInt32)
var deprecatedAttribute = new deprecatedAttribute(message, type, version);

Parameters

message
String String 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 API.

type
DeprecationType DeprecationType DeprecationType

A value of the enumeration. The default is Deprecate.

version
UInt32 UInt32 UInt32

A constant that indicates the version that the deprecation applies to.

See also

DeprecatedAttribute(String, DeprecationType, UInt32, Platform) DeprecatedAttribute(String, DeprecationType, UInt32, Platform) DeprecatedAttribute(String, DeprecationType, UInt32, Platform) DeprecatedAttribute(String, DeprecationType, UInt32, Platform) DeprecatedAttribute(String, DeprecationType, UInt32, Platform)

Creates and initializes a new instance of the attribute, including a Platform value for targeting.

public : DeprecatedAttribute(Platform::String message, DeprecationType type, unsigned int version, Platform platform)
DeprecatedAttribute(winrt::hstring message, DeprecationType type, uint32_t version, Platform platform) const;
public DeprecatedAttribute(String message, DeprecationType type, UInt32 version, Platform platform)
Public Sub New(message As String, type As DeprecationType, version As UInt32, platform As Platform)
var deprecatedAttribute = new deprecatedAttribute(message, type, version, platform);

Parameters

message
String String 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 API.

type
DeprecationType DeprecationType DeprecationType

A value of the enumeration. The default is Deprecate.

version
UInt32 UInt32 UInt32

A constant that indicates the version that the deprecation applies to.

platform
Platform Platform Platform

A value of the enumeration. The default is Windows.

See also

DeprecatedAttribute(String, DeprecationType, UInt32, String) DeprecatedAttribute(String, DeprecationType, UInt32, String) DeprecatedAttribute(String, DeprecationType, UInt32, String) DeprecatedAttribute(String, DeprecationType, UInt32, String) DeprecatedAttribute(String, DeprecationType, UInt32, String)

Creates and initializes a new instance of the attribute.

public : DeprecatedAttribute(Platform::String message, DeprecationType type, unsigned int version, Platform::String contract)
DeprecatedAttribute(winrt::hstring message, DeprecationType type, uint32_t version, winrt::hstring contract) const;
public DeprecatedAttribute(String message, DeprecationType type, UInt32 version, String contract)
Public Sub New(message As String, type As DeprecationType, version As UInt32, contract As String)
var deprecatedAttribute = new deprecatedAttribute(message, type, version, contract);

Parameters

message
String String 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 API.

type
DeprecationType DeprecationType DeprecationType

A value of the enumeration. The default is Deprecate.

version
UInt32 UInt32 UInt32

A constant that indicates the version that the deprecation applies to.

contract
String String String

A string representing the type of the API contract implementing the deprecated type or member.

See also