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

# PFEntityGetEntityTokenAsync

> Obtenir le PFEntityToken mis en cache d'une entité.

Obtenir le PFEntityToken mis en cache d'une entité.

## Syntaxe

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

### Paramètres

**`entityHandle`**   PFEntityHandle

PFEntityHandle retourné par un appel de connexion.

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

XAsyncBlock pour l'opération asynchrone.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API.

## Configuration requise

**En-tête :** PFEntity.h

## Voir aussi

[Membres de PFEntity](/fr-CA/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [PFEntityGetEntityTokenResult](/fr-CA/services/playfab/api-references/c/pfentity/functions/pfentitygetentitytokenresult.md)
- [PFEntityGetEntityTokenResultSize](/fr-CA/services/playfab/api-references/c/pfentity/functions/pfentitygetentitytokenresultsize.md)
- [Vue d'ensemble de l'API C Services - PFEntity.h](/fr-CA/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [Handles d'entité](/fr-CA/services/playfab/sdks/c/entity-handles.md)
- [Get Entity Token](/api-reference/authentication/get-entity-token.md)
