ActivatableAttribute ActivatableAttribute ActivatableAttribute ActivatableAttribute ActivatableAttribute Class

Definition

Indicates that the class is an activatable runtime class.

public : sealed class ActivatableAttribute : Attribute
struct winrt::Windows::Foundation::Metadata::ActivatableAttribute : Attribute
public sealed class ActivatableAttribute : Attribute
Public NotInheritable Class ActivatableAttribute Inherits Attribute
var activatableAttribute = new activatableAttribute(type, version, contractName);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

ActivatableAttribute(Type, UInt32) ActivatableAttribute(Type, UInt32) ActivatableAttribute(Type, UInt32) ActivatableAttribute(Type, UInt32) ActivatableAttribute(Type, UInt32)

Indicates that the runtime class can be activated with parameters, starting in a particular version.

ActivatableAttribute(Type, UInt32, String) ActivatableAttribute(Type, UInt32, String) ActivatableAttribute(Type, UInt32, String) ActivatableAttribute(Type, UInt32, String) ActivatableAttribute(Type, UInt32, String)

Indicates that the runtime class can be activated with parameters, starting in a particular version of a particular API contract.

ActivatableAttribute(Type, UInt32, Platform) ActivatableAttribute(Type, UInt32, Platform) ActivatableAttribute(Type, UInt32, Platform) ActivatableAttribute(Type, UInt32, Platform) ActivatableAttribute(Type, UInt32, Platform)

Indicates that the runtime class can be activated with parameters, starting in a particular version of a particular platform.

ActivatableAttribute(UInt32) ActivatableAttribute(UInt32) ActivatableAttribute(UInt32) ActivatableAttribute(UInt32) ActivatableAttribute(UInt32)

Indicates that the runtime class can be activated with no parameters, starting in a particular version.

ActivatableAttribute(UInt32, String) ActivatableAttribute(UInt32, String) ActivatableAttribute(UInt32, String) ActivatableAttribute(UInt32, String) ActivatableAttribute(UInt32, String)

Indicates that the runtime class can be activated with no parameters, starting in a particular version of a particular API contract.

ActivatableAttribute(UInt32, Platform) ActivatableAttribute(UInt32, Platform) ActivatableAttribute(UInt32, Platform) ActivatableAttribute(UInt32, Platform) ActivatableAttribute(UInt32, Platform)

Indicates that the runtime class can be activated with no parameters, starting in a particular version of a particular platform.

See also