> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IXtfRemoteRunClient 接口（接口内容）

> IXtfRemoteRunClient Interface

# IXtfRemoteRunClient Interface

提供在开发主机上远程运行可执行文件的能力。

## 语法

```cpp theme={null}
interface IXtfRemoteRunClient : public IUnknown  
```

## 方法

| 方法 | 描述 |
| - | - |
| [Run](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md) | 在主机上运行给定命令。 |

## 备注

要创建 **XtfRemoteRunClient** 的实例，请调用 [XtfCreateRemoteRunClient](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/methods/xtfremoterun_xtfcreateremoterunclient.md)。要使用 **XtfRemoteRunClient** 运行可执行文件，请调用 [IXtfRemoteRunClient::Run](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)。要使用输入或输出运行可执行文件，你需要使用 [IXtfRemoteRunCallback Interface](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md) 的实例作为 [IXtfRemoteRunClient::Run](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md) 的参数。

## 要求

**头文件：** xtfremoterun.h

**库：** xtfremoterun.lib

**支持的平台：** Windows（用于 XBOX 主机工具）

## 另请参阅

[XtfRemoteRun](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/xtfremoterun_members.md)\
[IXtfRemoteRunClient](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md)\
[IXtfRemoteRunClient::Run](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)


## Related topics

- [IXtfRemoteRunCallback 接口（接口内容）](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)
- [IXtfInputClient 接口（接口内容）](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t.md)
- [IXtfApplicationClient 接口（接口内容）](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/ixtfapplicationclient-xtfapplication-xbox-microsoft-t.md)
- [IXtfUserClient 接口（接口内容）](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfuser/classes/IXtfUserClient/ixtfuserclient-xtfuser-xbox-windows-t.md)
- [IXtfFileIOClient 接口（接口内容）](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/ixtffileioclient-xtffileio-xbox-microsoft-t.md)
