Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ActivatableAttribute Class
Definition
- Namespace:
- Windows.Foundation.Metadata
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates that the class is an activatable runtime class.
public ref class ActivatableAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AllowMultiple]
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class ActivatableAttribute final : Attribute
[Windows.Foundation.Metadata.AllowMultiple]
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class ActivatableAttribute : Attribute
Public NotInheritable Class ActivatableAttribute
Inherits Attribute
- Inheritance
-
ActivatableAttribute
- Attributes
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows 10 (introduced in 10.0.10240.0)
|
| API contract |
Windows.Foundation.FoundationContract (introduced in v1.0)
|
Constructors
| Name | Description |
|---|---|
| ActivatableAttribute(Type, UInt32, Platform) |
Indicates that the runtime class can be activated with parameters, starting in a particular version of a particular platform. |
| 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, Type) |
Indicates that the runtime class can be activated with parameters, starting in a particular version of a particular API contract. |
| ActivatableAttribute(Type, UInt32) |
Indicates that the runtime class can be activated with parameters, starting in a particular version. |
| ActivatableAttribute(UInt32, Platform) |
Indicates that the runtime class can be activated with no parameters, starting in a particular version of a particular platform. |
| 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, Type) |
Indicates that the runtime class can be activated with parameters, starting in a particular version. |
| ActivatableAttribute(UInt32) |
Indicates that the runtime class can be activated with no parameters, starting in a particular version. |
Applies to
See also
Feedback
Was this page helpful?
