Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ActionEntity Class

Definition

Namespace:
Windows.AI.Actions

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.

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

Requirements Description
Device family
Windows Desktop Extension SDK (introduced in 10.0.26100.0)
API contract
Windows.AI.Actions.ActionsContract (introduced in v8.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

Name Description
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

Name Description
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


Feedback

Was this page helpful?