Activatable​Attribute Activatable​Attribute Activatable​Attribute Class

Definition

Indicates that the class is an activatable runtime class.

public : sealed class ActivatableAttribute : Attributepublic sealed class ActivatableAttribute : AttributePublic NotInheritable Class ActivatableAttribute Inherits Attribute
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)

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(PlatForm::Type type, unsigned int version)public ActivatableAttribute(Type type, UInt32 version)Public Sub New(type As Type, version As UInt32)
Parameters
type
PlatForm::Type Type Type

The type of the class.

version
unsigned int UInt32 UInt32

The version of the class.

Attributes
See Also

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

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(PlatForm::Type type, unsigned int version, PlatForm::String contractName)public ActivatableAttribute(Type type, UInt32 version, String contractName)Public Sub New(type As Type, version As UInt32, contractName As String)
Parameters
type
PlatForm::Type Type Type

The type of the class.

version
unsigned int UInt32 UInt32

The version of the API contract implementing the class.

contractName
PlatForm::String String String

A string representing the type of the API contract implementing the class.

Attributes
See Also

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

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(PlatForm::Type type, unsigned int version, Platform platform)public ActivatableAttribute(Type type, UInt32 version, Platform platform)Public Sub New(type As Type, version As UInt32, platform As Platform)
Parameters
type
PlatForm::Type Type Type

The type of the class.

version
unsigned int UInt32 UInt32

The version of the class.

platform
Platform Platform Platform

A value of the enumeration. The default is Windows.

Attributes
See Also

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

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(unsigned int version)public ActivatableAttribute(UInt32 version)Public Sub New(version As UInt32)
Parameters
version
unsigned int UInt32 UInt32

The version of the class.

Attributes
See Also

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

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(unsigned int version, PlatForm::String type)public ActivatableAttribute(UInt32 version, String type)Public Sub New(version As UInt32, type As String)
Parameters
version
unsigned int UInt32 UInt32

The version of the class.

type
PlatForm::String String String

A string representing the type of the factory interface.

Attributes
See Also

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

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(unsigned int version, Platform platform)public ActivatableAttribute(UInt32 version, Platform platform)Public Sub New(version As UInt32, platform As Platform)
Parameters
version
unsigned int UInt32 UInt32

The version of the class.

platform
Platform Platform Platform

A value of the enumeration. The default is Windows.

Attributes
See Also

See Also