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

# PartyDestroyedReason

> 对象可能被销毁的原因。

对象可能被销毁的原因。

## Syntax

```cpp theme={null}
enum class PartyDestroyedReason    
{  
    Requested = 0,  
    Disconnected = 1,  
    Kicked = 2,  
    DeviceLostAuthentication = 3,  
    CreationFailed = 4,  
}  
```

## Constants

| Constant                 | Description                                                                                                   |
| ------------------------ | ------------------------------------------------------------------------------------------------------------- |
| Requested                | 邀请、终结点、设备、网络或聊天控件正在按请求正常销毁。                                                                                   |
| Disconnected             | 由于与透明云中继服务器的连接丢失，邀请、终结点、设备、网络或聊天控件正在被销毁。                                                                      |
| Kicked                   | 邀请、终结点或聊天控件所依赖的设备或用户被踢出。                                                                                      |
| DeviceLostAuthentication | 本地设备上没有本地用户已在网络中通过身份验证，因此本地设备失去了对远程管理的邀请、终结点、设备或聊天控件的可见性。<br /><br /> 尽管引用远程管理对象的本地对象已被销毁，但远程管理的对象在网络中可能仍然存在。 |
| CreationFailed           | 邀请或终结点的创建异步失败，因此本地对象已被销毁。                                                                                     |

## Requirements

**Header:** Party.h

## See also

[Party members](/services/playfab/multiplayer/networking/reference/party_members)


## Related topics

- [PartyInvitationDestroyedStateChange](/zh-CN/services/playfab/multiplayer/networking/reference/structs/partyinvitationdestroyedstatechange.md)
- [PartyNetworkDestroyedStateChange](/zh-CN/services/playfab/multiplayer/networking/reference/structs/partynetworkdestroyedstatechange.md)
- [PartyEndpointDestroyedStateChange](/zh-CN/services/playfab/multiplayer/networking/reference/structs/partyendpointdestroyedstatechange.md)
- [client_network_destroyed](/zh-CN/services/playfab/api-references/events/Networking/client-network-destroyed.md)
- [PartyChatControlDestroyedStateChange](/zh-CN/services/playfab/multiplayer/networking/reference/structs/partychatcontroldestroyedstatechange.md)
