SimulatorClient.StartProcessAsync(StartProcessInfo, IProcessStartedCompletionRoutine) Метод

Определение

Запускает процесс в симуляторе, запущенном в качестве вошедшего в систему пользователя. Процесс всегда запускается непосредственно из исполняемого файла (а не через оболочку). Если процесс является консольным приложением, он выполняется без окна консоли.

public:
 virtual void StartProcessAsync(Microsoft::Windows::Simulator::Client::StartProcessInfo startInfo, Microsoft::Windows::Simulator::Client::IProcessStartedCompletionRoutine ^ completionRoutine);
public void StartProcessAsync (Microsoft.Windows.Simulator.Client.StartProcessInfo startInfo, Microsoft.Windows.Simulator.Client.IProcessStartedCompletionRoutine completionRoutine);
abstract member StartProcessAsync : Microsoft.Windows.Simulator.Client.StartProcessInfo * Microsoft.Windows.Simulator.Client.IProcessStartedCompletionRoutine -> unit
override this.StartProcessAsync : Microsoft.Windows.Simulator.Client.StartProcessInfo * Microsoft.Windows.Simulator.Client.IProcessStartedCompletionRoutine -> unit
Public Sub StartProcessAsync (startInfo As StartProcessInfo, completionRoutine As IProcessStartedCompletionRoutine)

Параметры

startInfo
StartProcessInfo

Набор параметров, которые используются для запуска процесса в симуляторе.

completionRoutine
IProcessStartedCompletionRoutine

Реализация процедуры завершения, вызываемой при завершении активации.

Реализации

Исключения

Создается, если уже выполняется какая-либо асинхронная операция. Или любой другой случай возникновения ошибки в симуляторе.

Применяется к