SimulatorClient.SendRemoteAction(RemoteSessionActionType) 方法

定义

向模拟器会话发送指定的 RemoteSessionActionType 。 目前仅支持 RemoteActionType。 Windows.ui.startscreen。

public:
 virtual void SendRemoteAction(Microsoft::Windows::Simulator::Client::RemoteSessionActionType remoteActionType);
public void SendRemoteAction (Microsoft.Windows.Simulator.Client.RemoteSessionActionType remoteActionType);
abstract member SendRemoteAction : Microsoft.Windows.Simulator.Client.RemoteSessionActionType -> unit
override this.SendRemoteAction : Microsoft.Windows.Simulator.Client.RemoteSessionActionType -> unit
Public Sub SendRemoteAction (remoteActionType As RemoteSessionActionType)

参数

remoteActionType
RemoteSessionActionType

要发送到模拟器会话的远程操作的类型。

实现

例外

如果的值 remoteActionType 不是 RemoteActionType. windows.ui.startscreen,则引发此异常。

适用于