> ## 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.

# MicrosoftGame.config 元素 - MultiplayerProtocol

> MicrosoftGame.config 元素 - MultiplayerProtocol

# MicrosoftGame.config 元素 - MultiplayerProtocol

允許透過 "ms-xbl-multiplayer" 通訊協定在遊戲內進行通訊協定啟用。主要用於讓 Game Bar 能夠啟動遊戲/多人遊戲邀請。

## 父系

此元素的父系是 DesktopRegistration 元素。

## 需求

此元素為選用，不需要設定。

## 平台

此元素僅適用於 PC 裝置。

## 行為

* 屬性為 Executable。
* 預設值為 false。Executable 屬性沒有預設值。
* 允許的值為 true 和 false。Executable 屬性為可執行檔的相對路徑。

## 備註

* Executable 屬性為選用，且應與 ExecutableList 元素中定義、要透過通訊協定啟用的可執行檔相符。
* 若未提供此屬性，通訊協定預設會啟用 ExecutableList 元素中的第一個 Executable。

## 另請參閱

[MicrosoftGame.config 參考 - 目錄](/zh-TW/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)


## Related topics

- [MicrosoftGame.config Element - MultiplayerProtocol](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-multiplayerprotocol.md)
- [MicrosoftGame.config 要素 - MultiplayerProtocol](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-multiplayerprotocol.md)
- [Elemento de MicrosoftGame.config - MultiplayerProtocol](/es/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-multiplayerprotocol.md)
- [MicrosoftGame.config Element - Protocol](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-protocol.md)
- [MicrosoftGame.config Element - ProtocolList](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-protocollist.md)
