ActivatableAttribute ActivatableAttribute ActivatableAttribute 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(Type type, UInt32 version)public ActivatableAttribute(Type type, UInt32 version)Public Sub New(type As Type, version As UInt32)
Parameters
type
System.Type System.Type System.Type

The type of the class.

version
System.UInt32 System.UInt32 System.UInt32

The version of the class.

Attributes

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

Creates and initializes a new instance of the attribute.

public ActivatableAttribute(Type type, UInt32 version, String contractName)public ActivatableAttribute(Type type, UInt32 version, String contractName)Public Sub New(type As Type, version As UInt32, contractName As String)
Parameters
type
System.Type System.Type System.Type

The type of the class.

version
System.UInt32 System.UInt32 System.UInt32

The version of the API contract implementing the class.

contractName
System.String System.String System.String

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

Attributes

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

Creates and initializes a new instance of the attribute.

public ActivatableAttribute(Type type, UInt32 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
System.Type System.Type System.Type

The type of the class.

version
System.UInt32 System.UInt32 System.UInt32

The version of the class.

platform
Platform Platform Platform

A value of the enumeration. The default is Windows.

Attributes

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

Creates and initializes a new instance of the attribute.

public ActivatableAttribute(UInt32 version)public ActivatableAttribute(UInt32 version)Public Sub New(version As UInt32)
Parameters
version
System.UInt32 System.UInt32 System.UInt32

The version of the class.

Attributes

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

Creates and initializes a new instance of the attribute.

public ActivatableAttribute(UInt32 version, String type)public ActivatableAttribute(UInt32 version, String type)Public Sub New(version As UInt32, type As String)
Parameters
version
System.UInt32 System.UInt32 System.UInt32

The version of the class.

type
System.String System.String System.String

A string representing the type of the factory interface.

Attributes

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

Creates and initializes a new instance of the attribute.

public ActivatableAttribute(UInt32 version, Platform platform)public ActivatableAttribute(UInt32 version, Platform platform)Public Sub New(version As UInt32, platform As Platform)
Parameters
version
System.UInt32 System.UInt32 System.UInt32

The version of the class.

platform
Platform Platform Platform

A value of the enumeration. The default is Windows.

Attributes

See Also