NamedActionEntity Class
Definition
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.
A subclass of ActionEntity that associates the name of an entity with an entity object.
public ref class NamedActionEntity sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.Actions.ActionsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NamedActionEntity final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.Actions.ActionsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NamedActionEntity : System.IDisposable
Public NotInheritable Class NamedActionEntity
Implements IDisposable
- Inheritance
- Attributes
- Implements
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows Desktop Extension SDK (introduced in 10.0.26100.0)
|
| API contract |
Windows.AI.Actions.ActionsContract (introduced in v8.0)
|
Properties
| Name | Description |
|---|---|
| Entity |
Gets or sets the action entity that is associated with the value in the Name property. |
| Name |
Gets or sets the name of the action entity that is the value of the Entity property. |
Methods
| Name | Description |
|---|---|
| Close() |
Closes and releases any resources used by this NamedActionEntity. |
| Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |