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

# XblMultiplayerSessionSetMatchmakingResubmit

> XblMultiplayerSessionSetMatchmakingResubmit

# XblMultiplayerSessionSetMatchmakingResubmit

设置是否需要重新提交匹配。

## 语法

```cpp theme={null}
void XblMultiplayerSessionSetMatchmakingResubmit(  
         XblMultiplayerSessionHandle handle,  
         bool matchResubmit  
)  
```

### 参数

*handle*   \_In\_\
类型：[XblMultiplayerSessionHandle](/reference/live/xsapi-c/multiplayer_c/handles/xblmultiplayersessionhandle)

多人游戏会话的句柄。

*matchResubmit*   \_In\_\
类型：bool

如果找到的匹配不成功需要重新提交，则设置为 true。如果匹配成功且匹配服务可以释放会话，则设置为 false。

### 返回值

类型：void

## 要求

**头文件：** multiplayer\_c.h

**库：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另请参阅

[multiplayer\_c](/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members)


## Related topics

- [XblMultiplayerSessionSetMatchmakingTargetSessionConstantsJson](/zh-CN/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetmatchmakingtargetsessionconstantsjson.md)
- [XblMultiplayerSessionSetMatchmakingServerConnectionPath](/zh-CN/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetmatchmakingserverconnectionpath.md)
- [XblMultiplayerSessionMatchmakingServer](/zh-CN/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionmatchmakingserver.md)
- [XblMultiplayerSessionSetSessionChangeSubscription](/zh-CN/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetsessionchangesubscription.md)
- [XblMultiplayerSessionSetClosed](/zh-CN/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetclosed.md)
