ActionRuntime.CreateInvocationContextWithWindowId(String, WindowId) Method
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.
Creates an ActionInvocationContext object associated with the specified action and window ID.
public:
virtual ActionInvocationContext ^ CreateInvocationContextWithWindowId(Platform::String ^ actionId, WindowId invokerWindowId) = CreateInvocationContextWithWindowId;
ActionInvocationContext CreateInvocationContextWithWindowId(winrt::hstring const& actionId, WindowId const& invokerWindowId);
public ActionInvocationContext CreateInvocationContextWithWindowId(string actionId, WindowId invokerWindowId);
function createInvocationContextWithWindowId(actionId, invokerWindowId)
Public Function CreateInvocationContextWithWindowId (actionId As String, invokerWindowId As WindowId) As ActionInvocationContext
Parameters
- actionId
-
String
Platform::String
winrt::hstring
The ID of the app action for which the invocation context is created. The action ID is declared in the Action definition JSON file. For more information, see Action definition JSON schema for App Actions on Windows.
Returns
A new ActionInvocationContext object.