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

# PFEntityGetEntityTokenAsync

> エンティティのキャッシュされた PFEntityToken を取得します。

エンティティのキャッシュされた PFEntityToken を取得します。

## 構文

```cpp theme={null}
HRESULT PFEntityGetEntityTokenAsync(  
    PFEntityHandle entityHandle,  
    XAsyncBlock* async  
)  
```

### パラメーター

**`entityHandle`**   PFEntityHandle

ログイン呼び出しから返された PFEntityHandle。

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

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 要件

**ヘッダー:** PFEntity.h

## 関連項目

[PFEntity メンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfentity/pfentity_members.md)


## Related topics

- [PFEntityGetEntityTokenResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfentity/functions/pfentitygetentitytokenresult.md)
- [PFEntityGetEntityTokenResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfentity/functions/pfentitygetentitytokenresultsize.md)
- [Services C API overview - PFEntity.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [エンティティハンドル](https://docs.xbox.com/ja-jp/services/playfab/sdks/c/entity-handles.md)
- [Get Entity Token](https://docs.xbox.com/api-reference/authentication/get-entity-token.md)
