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

# XblMatchmakingStatus

> XblMatchmakingStatus

# XblMatchmakingStatus

定义指示会话匹配请求状态的值。

## 语法

```cpp theme={null}
enum class XblMatchmakingStatus  : uint32_t  
{  
    Unknown,  
    None,  
    Searching,  
    Expired,  
    Found,  
    Canceled  
}  
```

## 常量

| 常量 | 说明 |
| - | - |
| Unknown | 服务器返回了无法识别的响应。 |
| None | 未指定匹配搜索。此状态是可选的，需要 `clientMatchmaking` 功能。 |
| Searching | 匹配搜索仍在搜索。 |
| Expired | 匹配搜索已过期。 |
| Found | 匹配搜索找到了一个会话。 |
| Canceled | 匹配搜索已被取消。 |

## 成员归属

[XblMultiplayerMatchmakingServer](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/multiplayer_c/structs/xblmultiplayermatchmakingserver.md)

## 要求

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

## 另请参阅

[multiplayer\_c](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members.md)


## Related topics

- [XblMultiplayerMatchmakingServer](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/multiplayer_c/structs/xblmultiplayermatchmakingserver.md)
- [multiplayer_c](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members.md)
- [XblTicketStatus](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/matchmaking_c/enums/xblticketstatus.md)
- [matchmaking_c](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members.md)
- [XblMatchTicketDetailsResponse](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/matchmaking_c/structs/xblmatchticketdetailsresponse.md)
