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

# IXtfRemoteRunClient 介面

> IXtfRemoteRunClient 介面

# IXtfRemoteRunClient 介面

提供在開發主機上遠端執行可執行檔的功能。

<a id="syntaxSection" />

## 語法

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

## 方法

| 方法 | 描述 |
| - | - |
| [Run](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run) | 在主機上執行指定的命令。 |

## 備註

若要建立 **XtfRemoteRunClient** 的執行個體，請呼叫 [XtfCreateRemoteRunClient](/zh-TW/reference/tools/xtf/xtfremoterun/methods/xtfremoterun_xtfcreateremoterunclient)。若要使用 **XtfRemoteRunClient** 執行可執行檔，請呼叫 [IXtfRemoteRunClient::Run](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run)。若要以輸入或輸出執行可執行檔，您必須使用 [IXtfRemoteRunCallback 介面](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback)的執行個體作為 [IXtfRemoteRunClient::Run](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run) 的參數。

<a id="requirements" />

## 需求

**標頭：** xtfremoterun.h

**程式庫：** xtfremoterun.lib

**支援的平台：** Windows (適用於 XBOX 主機工具)

<a id="ID4E6" />

## 另請參閱

<a id="ID4EBB" />

[XtfRemoteRun](/zh-TW/reference/tools/xtf/xtfremoterun/xtfremoterun_members)\
[IXtfRemoteRunClient](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient)\
[IXtfRemoteRunClient::Run](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run)


## Related topics

- [XtfCreateRemoteRunClient 方法](/zh-TW/reference/tools/xtf/xtfremoterun/methods/xtfremoterun_xtfcreateremoterunclient.md)
- [IXtfRemoteRunCallback 介面](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)
- [IXtfRemoteRunClient::Run 方法](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)
- [IXtfRemoteRunCallback::Input 方法](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md)
- [IXtfRemoteRunCallback::Output 方法](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output.md)
