SimulatorClient.StartProcessAsync(StartProcessInfo, IProcessStartedCompletionRoutine) Methode

Definition

Startet einen Prozess im Simulator, der als angemeldeter Benutzer ausgeführt wird. Der Prozess wird immer direkt aus der ausführbaren Datei (nicht über die Shell) gestartet. Wenn es sich bei dem Prozess um eine Konsolenanwendung handelt, wird er ohne Konsolenfenster ausgeführt.

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)

Parameter

startInfo
StartProcessInfo

Der Satz von Parametern, die verwendet werden, um den Prozess im Simulator zu starten.

completionRoutine
IProcessStartedCompletionRoutine

Eine Implementierung der Abschluss Routine, die aufgerufen werden soll, wenn die Aktivierung abgeschlossen ist.

Implementiert

Ausnahmen

Wird ausgelöst, wenn bereits ein asynchroner Vorgang ausgeführt wird. Oder ein beliebiger anderer Fehlerfall im Simulator.

Gilt für