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

# PartyChatControlLeftNetworkStateChange

> Information specific to the *ChatControlLeftNetwork* type of state change.

Information specific to the *ChatControlLeftNetwork* type of state change.

## Syntax

```cpp theme={null}
struct PartyChatControlLeftNetworkStateChange : PartyStateChange {  
    PartyDestroyedReason reason;  
    PartyError errorDetail;  
    PartyNetwork* network;  
    PartyChatControl* chatControl;  
}  
```

### Members

**`reason`**   [PartyDestroyedReason](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/enums/partydestroyedreason.md)

The reason the chat control left the network.

**`errorDetail`**   PartyError

A diagnostic value providing additional troubleshooting information regarding any potential error condition.

The human-readable form of this error detail can be retrieved via [PartyManager::GetErrorMessage()](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage.md).

**`network`**   [PartyNetwork](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/partynetwork.md)\*

The network left.

**`chatControl`**   [PartyChatControl](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/partychatcontrol.md)\*

The chat control that left the network.

## Requirements

**Header:** Party.h

## See also

[Party members](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/party_members.md)\
[PartyNetwork::DisconnectChatControl](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_disconnectchatcontrol.md)


## Related topics

- [PartyChatControl::GetNetworks](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/methods/partychatcontrol_getnetworks.md)
- [PartyNetwork::GetChatControls](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_getchatcontrols.md)
- [PartyNetwork::LeaveNetwork](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_leavenetwork.md)
- [PartyLocalDevice::DestroyChatControl](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalDevice/methods/partylocaldevice_destroychatcontrol.md)
- [PartyRemoveLocalUserCompletedStateChange](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/structs/partyremovelocalusercompletedstatechange.md)
