Share via


ActionOverload Class

Definition

Represents an overload of an app action.

public ref class ActionOverload sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.Actions.ActionsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ActionOverload final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.Actions.ActionsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ActionOverload : System.IDisposable
Public NotInheritable Class ActionOverload
Implements IDisposable
Inheritance
Object Platform::Object IInspectable ActionOverload
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 can be defined with multiple overloads that take different sets of inputs. This class can be used to select and invoke a specific overload of an app action.

Properties

Name Description
DescriptionTemplate

Gets the description template for the app action overload.

Methods

Name Description
Close()

Closes and releases any resources used by this ActionOverload.

Dispose()

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

GetInputs()

Gets an array of objects describing the input entities accepted by an app action.

GetSupportsFeedback()

Gets a value indicating whether the app action overload supports the app action user feedback mechanism.

InvokeAsync(ActionInvocationContext)

Asynchronously invokes the app action overload.

InvokeFeedbackAsync(ActionInvocationContext, ActionFeedback)

Asynchronously invokes the feedback for the associated action overload.

Applies to