Editar

Compartir a través de


PartyLeaveNetworkCompletedStateChange

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