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

# PFEntityGetEntityTokenResultSize

> 取得儲存 PFEntityGetEntityTokenAsync 呼叫結果所需的大小 (以位元組為單位)。

取得儲存 PFEntityGetEntityTokenAsync 呼叫結果所需的大小 (以位元組為單位)。

## 語法

```cpp theme={null}
HRESULT PFEntityGetEntityTokenResultSize(  
    XAsyncBlock* async,  
    size_t* bufferSize  
)  
```

### 參數

**`async`**   XAsyncBlock\*<br />*Inout*

用於非同步作業的 XAsyncBlock。

**`bufferSize`**   size\_t\*<br />*output*

結果所需的緩衝區大小 (以位元組為單位)。

### 傳回值

類型：HRESULT

此 API 作業的結果代碼。

## 需求

**標頭：** PFEntity.h

## 另請參閱

[PFEntity 成員](/zh-TW/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [服務 C API 概觀 - PFEntity.h](/zh-TW/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [實體控制代碼](/zh-TW/services/playfab/sdks/c/entity-handles.md)
- [PFEntityGetEntityTokenResult](/zh-TW/services/playfab/api-references/c/pfentity/functions/pfentitygetentitytokenresult.md)
- [PFAuthenticationValidateEntityTokenGetResultSize](/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationvalidateentitytokengetresultsize.md)
- [PFAuthenticationValidateEntityTokenGetResult](/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationvalidateentitytokengetresult.md)
