ISimulator.StartAsync(ICompletionRoutine, Boolean, Int32) 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.
Asynchronously starts and logs into the Simulator.
public:
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
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.
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.