SimulatorClient.StopAsync(ICompletionRoutine) 方法

定义

以异步方式注销、停止和关闭模拟器。

public:
 virtual void StopAsync(Microsoft::Windows::Simulator::Client::ICompletionRoutine ^ completionRoutine);
public void StopAsync (Microsoft.Windows.Simulator.Client.ICompletionRoutine completionRoutine);
abstract member StopAsync : Microsoft.Windows.Simulator.Client.ICompletionRoutine -> unit
override this.StopAsync : Microsoft.Windows.Simulator.Client.ICompletionRoutine -> unit
Public Sub StopAsync (completionRoutine As ICompletionRoutine)

参数

completionRoutine
ICompletionRoutine

在停止操作完成时要调用的完成例程的实现。

实现

例外

如果有任何异步操作正在进行,则引发此异常。 或模拟器中的任何其他错误情况。

适用于