Share via


ActionRuntime Class

Definition

Represents the App Actions on Windows runtime.

[WebHostHidden]
public ref class ActionRuntime : 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 ActionRuntime : 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 ActionRuntime : System.IDisposable
Public Class ActionRuntime
Implements IDisposable
Inheritance
Object Platform::Object IInspectable ActionRuntime
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)

Properties

ActionCatalog
EntityFactory

Gets an instance of the ActionEntityFactory class that is used to create instances of all the app action entity types.

LatestSupportedSchemaVersion

Gets a value specifying the latest supported app action definition schema version.

Methods

Close()

Closes and releases any resources used by this ActionRuntime.

CreateActionFeedback(ActionFeedbackKind)

Creates a new instance of the ActionFeedback class that provides information about user feedback for an action.

CreateInvocationContext(String)

Creates an ActionInvocationContext object associated with the specified action and window ID.

CreateInvocationContextWithWindowId(String, WindowId)

Creates an ActionInvocationContext object associated with the specified action and window ID.

Dispose()

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

GetActionAvailability(String)

Gets a value indicating whether the specified entity is currently in the available state.

GetActionEntityById(String)

Gets the app action entity with the specified ID.

SetActionAvailability(String, Boolean)

Sets the availability status of an app action.

Applies to