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

# PFProfilesGetProfileAsync

> 指定したエンティティ キーに関連付けられた表示名、アバター、統計、オブジェクトを含む、単一エンティティの PlayFab エンティティ プロファイルを取得します。

エンティティのプロファイルを取得します。

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFProfilesGetEntityProfileRequest\*](/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilesgetentityprofilerequest)

値が設定されたリクエスト オブジェクト。

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

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

この API はすべてのプラットフォームで利用できます。エンティティ タイプとエンティティ識別子を指定すると、エンティティ ストアからプロファイルを取得します。取得するプロファイルが呼び出し元のプロファイルである場合、読み取り操作は一貫性があり、そうでない場合は非一貫性の読み取りとなります。非一貫性の読み取りとは、プロファイルを読み取る前にコミットされたすべての書き込みが行われていることを保証しないことを意味し、古い読み取りが発生する可能性があります。一貫性が重要な場合は、結果のバージョン番号を使用して、任意の読み取り側が持つプロファイルのバージョンを比較できます。非同期タスクが完了したら、[PFProfilesGetProfileGetResultSize](/services/playfab/api-references/c/pfprofiles/functions/pfprofilesgetprofilegetresultsize) と [PFProfilesGetProfileGetResult](/services/playfab/api-references/c/pfprofiles/functions/pfprofilesgetprofilegetresult) を呼び出して結果を取得します。

## 要件

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

## 関連項目

[PFProfiles のメンバー](/services/playfab/api-references/c/pfprofiles/pfprofiles_members)


## Related topics

- [PFProfilesGetProfileGetResult](/ja-jp/services/playfab/api-references/c/pfprofiles/functions/pfprofilesgetprofilegetresult.md)
- [Services C API overview - PFProfiles.h](/ja-jp/services/playfab/api-references/c/pfprofiles/pfprofiles_members.md)
- [PlayFab 統合 SDK での非同期呼び出し](/ja-jp/services/playfab/sdks/unified-sdk/async-model.md)
- [非同期呼び出しの実行](/ja-jp/services/playfab/sdks/c/async.md)
- [PFProfilesGetProfilesAsync](/ja-jp/services/playfab/api-references/c/pfprofiles/functions/pfprofilesgetprofilesasync.md)
