Share via


ActionEntity Class

Definition

The base class for all entity types.

[WebHostHidden]
public ref class ActionEntity : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.Actions.ActionsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class ActionEntity : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.Actions.ActionsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ActionEntity : System.IDisposable
Public Class ActionEntity
Implements IDisposable
Inheritance
Object Platform::Object IInspectable ActionEntity
Derived
Attributes
Implements

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.26100.0)
API contract
Windows.AI.Actions.ActionsContract (introduced in v4.0)

Remarks

App Actions on Windows defines several different entity types for different kinds of content. Each supported type has a dedicated subclass of ActionEntity that exposes properties specific to the type of content they represent. Supported action entity subclasses include the following:

Properties

DisplayInfo

Gets an object that contains the display information for the ActionEntity.

Id

Gets the unique identifier for the ActionEntity.

Kind

Gets a value specifying what kind of entity this ActionEntity is.

Methods

Close()

Closes and releases any resources used by this ActionEntity.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to