SimulatorClient.ActivateApplicationAsync Method

Definition

Activates an immersive application in the Simulator.

public:
 virtual void ActivateApplicationAsync(System::String ^ appUserModelId, Microsoft::Windows::Simulator::Client::IProcessStartedCompletionRoutine ^ completionRoutine, [Runtime::InteropServices::Out] System::String ^ % requestId);
public void ActivateApplicationAsync (string appUserModelId, Microsoft.Windows.Simulator.Client.IProcessStartedCompletionRoutine completionRoutine, out string requestId);
abstract member ActivateApplicationAsync : string * Microsoft.Windows.Simulator.Client.IProcessStartedCompletionRoutine * string -> unit
override this.ActivateApplicationAsync : string * Microsoft.Windows.Simulator.Client.IProcessStartedCompletionRoutine * string -> unit
Public Sub ActivateApplicationAsync (appUserModelId As String, completionRoutine As IProcessStartedCompletionRoutine, ByRef requestId As String)

Parameters

appUserModelId
String

The AppUserModelId that describes the immersive application to start.

completionRoutine
IProcessStartedCompletionRoutine

An implementation of the completion routine to be called when activation is completed.

requestId
String

Returns the request id that can be used to call ActivateApplicationCancelAsync.

Implements

Exceptions

Thrown if there is any asynchronous operation already in progress. Or any other error case in the Simulator.

Applies to