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