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

# PFEntityCloseHandle

> 关闭 PFEntityHandle。

关闭 PFEntityHandle。

## 语法

```cpp theme={null}
void PFEntityCloseHandle(  
    PFEntityHandle entityHandle  
)  
```

### 参数

**`entityHandle`**   PFEntityHandle

要关闭的实体句柄。

### 返回值

类型：void

此 API 操作的结果代码。

## 要求

**头文件：** PFEntity.h

## 另请参阅

[PFEntity 成员](/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [PFEntityDuplicateHandle](/zh-CN/services/playfab/api-references/c/pfentity/functions/pfentityduplicatehandle.md)
- [PFAuthenticationGetEntityGetResult](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitygetresult.md)
- [PFAuthenticationGetEntityWithSecretKeyGetResult](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitywithsecretkeygetresult.md)
- [PFAuthenticationAuthenticateGameServerWithCustomIdGetResult](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidgetresult.md)
- [PFAuthenticationLoginWithPSNGetResult](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsngetresult.md)
