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

# PFCatalogGetItemContainersAsync

> 搜尋指定的項目，並傳回包含該項目的一組套組和商店。一次最多可傳回 50 個項目。您可以使用接續權杖。

搜尋指定的項目，並傳回包含該項目的一組套組和商店。一次最多可傳回 50 個項目。當傳回的結果超過限制時，您可以使用接續權杖來分頁瀏覽結果。此 API 適用於工具/自動化案例，且 RPS 較低：Player Entity 限制為每 300 秒 30 個要求，Title Entity 限制為每 10 秒 100 個要求。

## 語法

```cpp theme={null}
HRESULT PFCatalogGetItemContainersAsync(  
    PFEntityHandle entityHandle,  
    const PFCatalogGetItemContainersRequest* request,  
    XAsyncBlock* async  
)  
```

### 參數

**`entityHandle`**   PFEntityHandle

用於驗證的 PFEntityHandle。

**`request`**   [PFCatalogGetItemContainersRequest\*](/zh-TW/services/playfab/api-references/c/pfcatalogtypes/structs/pfcataloggetitemcontainersrequest)

已填入的要求物件。

**`async`**   XAsyncBlock\*\
*Inout*

用於非同步作業的 XAsyncBlock。

### 傳回值

類型：HRESULT

此 API 作業的結果代碼。

## 備註

此 API 適用於所有平台。指定項目時，傳回包含該項目的一組套組和商店。非同步工作完成時，呼叫 [PFCatalogGetItemContainersGetResultSize](/zh-TW/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemcontainersgetresultsize) 和 [PFCatalogGetItemContainersGetResult](/zh-TW/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemcontainersgetresult) 以取得結果。

## 需求

**標頭：** PFCatalog.h

## 另請參閱

[PFCatalog 成員](/zh-TW/services/playfab/api-references/c/pfcatalog/pfcatalog_members)


## Related topics

- [PFCatalogGetItemContainersGetResult](/zh-TW/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemcontainersgetresult.md)
- [服務 C API 概觀 - PFCatalog.h](/zh-TW/services/playfab/api-references/c/pfcatalog/pfcatalog_members.md)
- [PFCatalogGetItemContainersGetResultSize](/zh-TW/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemcontainersgetresultsize.md)
- [PFCatalogGetItemContainersResponse](/zh-TW/services/playfab/api-references/c/pfcatalogtypes/structs/pfcataloggetitemcontainersresponse.md)
- [PFCatalogGetItemContainersRequest](/zh-TW/services/playfab/api-references/c/pfcatalogtypes/structs/pfcataloggetitemcontainersrequest.md)
