Share via


IActionProvider Interface

Definition

The interface implemented by an App Actions on Windows provider app to receive an event when the app action is invoked.

public interface class IActionProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.Actions.ActionsContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1653632071, 15623, 22001, 174, 250, 21, 34, 80, 90, 251, 190)]
struct IActionProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.Actions.ActionsContract), 65536)]
[Windows.Foundation.Metadata.Guid(1653632071, 15623, 22001, 174, 250, 21, 34, 80, 90, 251, 190)]
public interface IActionProvider
Public Interface IActionProvider
Attributes

Windows requirements

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

Remarks

For information on implementing an App Actions on Windows provider app using IActionProvider, see Use COM activation with App Actions for Windows .

Methods

InvokeAsync(ActionInvocationContext)

Raised when an app action has been invoked.

Applies to