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

# PartyStateChangeResult

> Results for Party library operations that generate state changes.

Results for Party library operations that generate state changes.

## Syntax

```cpp theme={null}
enum class PartyStateChangeResult    
{  
    Succeeded = 0,  
    UnknownError = 1,  
    CanceledByTitle = 2,  
    InternetConnectivityError = 3,  
    PartyServiceError = 4,  
    NoServersAvailable = 5,  
    UserNotAuthorized = 6,  
    UserCreateNetworkThrottled = 7,  
    TitleNotEnabledForParty = 8,  
    NetworkLimitReached = 10,  
    NetworkNoLongerExists = 11,  
    VersionMismatch = 13,  
    LeaveNetworkCalled = 14,  
    FailedToBindToLocalUdpSocket = 15,  
}  
```

## Constants

| Constant                     | Description                                                                                                                                                                                                                                                                                                                                                                                               |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Succeeded                    | The operation succeeded.                                                                                                                                                                                                                                                                                                                                                                                  |
| UnknownError                 | An unknown error occurred.                                                                                                                                                                                                                                                                                                                                                                                |
| CanceledByTitle              | Another title operation canceled this operation.                                                                                                                                                                                                                                                                                                                                                          |
| InternetConnectivityError    | The local device has internet connectivity issues which caused the operation to fail.                                                                                                                                                                                                                                                                                                                     |
| PartyServiceError            | The operation failed because of an unexpected error in the Party service.                                                                                                                                                                                                                                                                                                                                 |
| NoServersAvailable           | There are no available transparent cloud relay servers in the regions specified by the call to [PartyManager::CreateNewNetwork()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork).                                                                                                                                                         |
| UserNotAuthorized            | The PartyLocalUser specified in the call to [PartyManager::CreateNewNetwork()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork) or [PartyNetwork::AuthenticateLocalUser()](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_authenticatelocaluser) is not authorized to complete the operation. |
| UserCreateNetworkThrottled   | The PartyLocalUser specified in the call to [PartyManager::CreateNewNetwork()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork) has created too many networks and cannot create new networks at this time.                                                                                                                                  |
| TitleNotEnabledForParty      | The title has not been enabled to use PlayFab Party. PlayFab Party must be enabled in the PlayFab Game Manager.                                                                                                                                                                                                                                                                                           |
| NetworkLimitReached          | The network rejected this operation because it would violate a limit in the network's configuration. See [PartyNetworkConfiguration](/services/playfab/multiplayer/networking/reference/structs/partynetworkconfiguration).                                                                                                                                                                               |
| NetworkNoLongerExists        | The network no longer exists.                                                                                                                                                                                                                                                                                                                                                                             |
| VersionMismatch              | The operation failed because this version of the Party library was incompatible with either the Party service or the Party network.                                                                                                                                                                                                                                                                       |
| LeaveNetworkCalled           | The network was gracefully exited by the local device.                                                                                                                                                                                                                                                                                                                                                    |
| FailedToBindToLocalUdpSocket | The operation failed because the Party library was unable to bind to the socket specified in the [PartyOption::LocalUdpSocketBindAddress](/services/playfab/multiplayer/networking/reference/enums/partyoption) option.                                                                                                                                                                                   |

## Requirements

**Header:** Party.h

## See also

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


## Related topics

- [PartyRegionsChangedStateChange](/services/playfab/multiplayer/networking/reference/structs/partyregionschangedstatechange.md)
- [PartyCreateNewNetworkCompletedStateChange](/services/playfab/multiplayer/networking/reference/structs/partycreatenewnetworkcompletedstatechange.md)
- [PartyLeaveNetworkCompletedStateChange](/services/playfab/multiplayer/networking/reference/structs/partyleavenetworkcompletedstatechange.md)
- [PlayFab Party Release Notes](/services/playfab/multiplayer/networking/release-notes.md)
- [PartyDestroyEndpointCompletedStateChange](/services/playfab/multiplayer/networking/reference/structs/partydestroyendpointcompletedstatechange.md)
