SimulatorClient.StartAsync(ICompletionRoutine, Boolean, Int32) Method

Definition

Asynchronously starts and logs into the Simulator.

public:
 virtual void StartAsync(Microsoft::Windows::Simulator::Client::ICompletionRoutine ^ completionRoutine, bool startAsMinimized, int lcid);
public void StartAsync (Microsoft.Windows.Simulator.Client.ICompletionRoutine completionRoutine, bool startAsMinimized, int lcid);
abstract member StartAsync : Microsoft.Windows.Simulator.Client.ICompletionRoutine * bool * int -> unit
override this.StartAsync : Microsoft.Windows.Simulator.Client.ICompletionRoutine * bool * int -> unit
Public Sub StartAsync (completionRoutine As ICompletionRoutine, startAsMinimized As Boolean, lcid As Integer)

Parameters

completionRoutine
ICompletionRoutine

An implementation of the completion routine to be called when the Start operation finishes.

startAsMinimized
Boolean

Indicate whether Simulator should be started as minimized.

lcid
Int32

The locale to be passed into Simulator.

Implements

Exceptions

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

Thrown if the Start operation was canceled.

Applies to