> ## 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 Element - MultiplayerProtocol

> MicrosoftGame.config Element - MultiplayerProtocol

# MicrosoftGame.config Element - MultiplayerProtocol

允许通过 "ms-xbl-multiplayer" 协议在标题内进行协议激活。主要用于使 Game Bar 能够启动游戏/多人游戏邀请。

## 父元素

此元素的父元素是 DesktopRegistration 元素。

## 要求

此元素为可选，无需设置。

## 平台

此元素仅适用于 PC 设备。

## 行为

* 属性为 Executable。
* 默认值为 false。Executable 属性没有默认值。
* 允许值为 true 和 false。Executable 属性是指向可执行文件的相对路径。

## 备注

* Executable 属性为可选，应与 ExecutableList 元素中定义的应通过协议激活的可执行文件匹配。
* 如果未提供该属性，协议将默认激活 ExecutableList 元素中的第一个 Executable。

## 另请参阅

[MicrosoftGame.config 参考 - 目录](/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)


## Related topics

- [MicrosoftGame.config Element - DesktopRegistration](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-desktopregistration.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)
- [MicrosoftGame.config Element - Game](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-game.md)
- [MicrosoftGame.config Element - Executable](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-executable.md)
