Edit

PartyDestroyedReason

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Reasons an object might be destroyed.

Syntax

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

Constants

Constant Description
Requested The invitation, endpoint, device, network, or chat control is being destroyed gracefully by request.
Disconnected The invitation, endpoint, device, network, or chat control is being destroyed because connectivity to the transparent cloud relay server was lost.
Kicked The device or user that the invitation, endpoint, or chat control depended upon was kicked.
DeviceLostAuthentication No local users on the local device were authenticated on the network, so the local device lost visibility to the remotely managed invitation, endpoint, device, or chat control.

Even though the local object referring to the remotely managed object has been destroyed, the remotely managed object may still exist in the network.
CreationFailed The invitation or endpoint creation failed asynchronously, so the local object has been destroyed.

Requirements

Header: Party.h

See also

Party members