Redigera

PartyInvitationDestroyedStateChange

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

Information specific to the InvitationDestroyed type of state change.

Syntax

struct PartyInvitationDestroyedStateChange : PartyStateChange {  
    PartyNetwork* network;  
    PartyInvitation* invitation;  
    PartyDestroyedReason reason;  
    PartyError errorDetail;  
}  

Members

network   PartyNetwork*

The network of the invitation that was destroyed.

invitation   PartyInvitation*

The invitation that was destroyed.

Upon receiving this state change, the invitation object will no longer be queryable via PartyNetwork::GetInvitations().

reason   PartyDestroyedReason

The reason the invitation was destroyed.

If the invitation object was destroyed because it was explicitly revoked via PartyNetwork::RevokeInvitation() or automatically revoked when the creating local user left the network, this value will be PartyDestroyedReason::Requested. If the invitation object was destroyed because the local client is no longer authenticated in the network, this value will be PartyDestroyedReason::DeviceLostAuthentication.

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().

Requirements

Header: Party.h

See also

Party members