Redigera

PartyLeaveNetworkCompletedStateChange

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 LeaveNetworkCompleted type of state change.

Syntax

struct PartyLeaveNetworkCompletedStateChange : PartyStateChange {  
    PartyStateChangeResult result;  
    PartyError errorDetail;  
    PartyNetwork* network;  
    void* asyncIdentifier;  
}  

Members

result   PartyStateChangeResult

Indicates that the leave network 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().

network   PartyNetwork*

The network used in call associated with this state change.

asyncIdentifier   void*

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

Remarks

An associated PartyNetworkDestroyedStateChange will be generated before this state change is generated. The network object network is only valid until this state change is returned to PartyManager::FinishProcessingStateChanges().

Requirements

Header: Party.h

See also

Party members
PartyNetwork::LeaveNetwork