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

# PFCatalogGetDraftItemsAsync

> 從草稿目錄擷取分頁的項目清單。單一要求最多可擷取 50 個識別碼。GetDraftItems 不會使用目錄的快取，因此在嘗試取得最近的項目更新時應使用此 API。注意：所提供的 SAS 權杖有效期為 1 小時。

從草稿目錄擷取分頁的項目清單。單一要求最多可擷取 50 個識別碼。GetDraftItems 不會使用目錄的快取，因此在嘗試取得最近的項目更新時應使用此 API。注意：所提供的 SAS 權杖有效期為 1 小時。

## 語法

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

### 參數

**`entityHandle`**   PFEntityHandle

用於驗證的 PFEntityHandle。

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

已填入的要求物件。

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

用於非同步作業的 XAsyncBlock。

### 傳回值

類型：HRESULT

此 API 作業的結果代碼。

## 備註

此 API 可在所有平台上使用。當非同步工作完成時，請呼叫 [PFCatalogGetDraftItemsGetResultSize](/zh-TW/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetdraftitemsgetresultsize) 和 [PFCatalogGetDraftItemsGetResult](/zh-TW/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetdraftitemsgetresult) 以取得結果。

## 需求

**標頭：** PFCatalog.h

## 另請參閱

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


## Related topics

- [PFCatalogGetDraftItemsGetResult](/zh-TW/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetdraftitemsgetresult.md)
- [服務 C API 概觀 - PFCatalog.h](/zh-TW/services/playfab/api-references/c/pfcatalog/pfcatalog_members.md)
- [PFCatalogGetDraftItemAsync](/zh-TW/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetdraftitemasync.md)
- [PFCatalogGetEntityDraftItemsAsync](/zh-TW/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetentitydraftitemsasync.md)
- [PFCatalogUpdateDraftItemAsync](/zh-TW/services/playfab/api-references/c/pfcatalog/functions/pfcatalogupdatedraftitemasync.md)
