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

# /handles/query

> /handles/query

# /handles/query

支持 POST 操作以创建会话句柄的查询。

> **注意：**\
> 此 URI 由 2015 多人游戏使用，仅适用于该多人游戏版本及更高版本。它旨在与模板协定 104/105 或更高版本一起使用。

## 域

sessiondirectory.xboxlive.com

## 备注

此 URI 支持针对句柄的查询。与作为字符串和批处理查询的会话查询不同，句柄查询使用查询处理器样式。最多支持 100 个句柄。

## URI 参数

无

## 有效方法

[POST (/handles/query)](https://devdocs.xbox.com/zh-CN/reference/live/rest/uri/sessiondirectory/uri-handlesquerypost)

  创建会话句柄的查询。

[POST (/handles/query?include=relatedInfo)](https://devdocs.xbox.com/zh-CN/reference/live/rest/uri/sessiondirectory/uri-handlesqueryincludepost)

  创建包含相关会话信息的会话句柄查询。

## 另请参阅

##### 上级

[会话目录 URI](https://devdocs.xbox.com/zh-CN/reference/live/rest/uri/sessiondirectory/atoc-reference-sessiondirectory)


## Related topics

- [Multiplayer session browse](https://devdocs.xbox.com/services/xbox-services/multiplayer/concepts/live-session-browse.md)
- [XStoreCloseProductsQueryHandle](https://devdocs.xbox.com/reference/system/xstore/functions/xstorecloseproductsqueryhandle.md)
