次の方法で共有


ActionInstance Class

Definition

Represents an instance of an app action.

public ref class ActionInstance sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.Actions.ActionsContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ActionInstance final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.Actions.ActionsContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ActionInstance
Public NotInheritable Class ActionInstance
Inheritance
Object Platform::Object IInspectable ActionInstance
Attributes

Windows requirements

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

Properties

Context

Gets the invocation context for an app action instance.

Definition

Gets the action definition for an app action instance.

DisplayInfo

Gets an object representing the display information associated with an app action instance.

Methods

InvokeAsync()

Asynchronously invokes the app action instance.

Applies to