ISimulator.ActivateApplicationAsync 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.
Activates an AppContainer application in the Simulator.
public:
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
Public Sub ActivateApplicationAsync (appUserModelId As String, completionRoutine As IProcessStartedCompletionRoutine, ByRef requestId As String)
Parameters
- appUserModelId
- String
The AppUserModelId that describes the AppContainer application to start.
- completionRoutine
- IProcessStartedCompletionRoutine
An implementation of the completion routine to be called when activation finishes.
- requestId
- String
Returns the request id that can be used to call ActivateApplicationCancelAsync.
Exceptions
Thrown if there is any asynchronous operation already in progress. Or any other error case in the Simulator.