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

# PartyDestroyChatControlCompletedStateChange

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

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

## Syntax

```cpp theme={null}
struct PartyDestroyChatControlCompletedStateChange : PartyStateChange {  
    PartyStateChangeResult result;  
    PartyError errorDetail;  
    PartyLocalDevice* localDevice;  
    PartyLocalChatControl* localChatControl;  
    void* asyncIdentifier;  
}  
```

### Members

**`result`**   [PartyStateChangeResult](/services/playfab/multiplayer/networking/reference/enums/partystatechangeresult)

Indicates that the chat control destruction operation Succeeded or provides the reason that it failed.

**`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()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

**`localDevice`**   [PartyLocalDevice](/services/playfab/multiplayer/networking/reference/classes/PartyLocalDevice/partylocaldevice)\*

The local device used in the call associated with this state change.

**`localChatControl`**   [PartyLocalChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol)\*

The chat control that was destroyed.

The memory remains valid until this state change is returned.

**`asyncIdentifier`**   void\*

The async identifier provided to the call associated with this state change.

## Requirements

**Header:** Party.h

## See also

[Party members](/services/playfab/multiplayer/networking/reference/party_members)\
[PartyLocalDevice::DestroyChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyLocalDevice/methods/partylocaldevice_destroychatcontrol)


## Related topics

- [PartyLocalDevice::DestroyChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyLocalDevice/methods/partylocaldevice_destroychatcontrol.md)
- [PartyChatControl::GetEntityId](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/methods/partychatcontrol_getentityid.md)
- [PartyChatControl::GetEntityType](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/methods/partychatcontrol_getentitytype.md)
- [PartyStateChangeType](/services/playfab/multiplayer/networking/reference/enums/partystatechangetype.md)
- [Party C/C++ API overview](/services/playfab/multiplayer/networking/reference/party_members.md)
