Redigera

PartyDestroyEndpointCompletedStateChange

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

Syntax

struct PartyDestroyEndpointCompletedStateChange : PartyStateChange {  
    PartyStateChangeResult result;  
    PartyError errorDetail;  
    PartyNetwork* network;  
    PartyLocalEndpoint* localEndpoint;  
    void* asyncIdentifier;  
}  

Members

result   PartyStateChangeResult

Indicates that the destroy endpoint 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 the call associated with this state change.

localEndpoint   PartyLocalEndpoint*

The endpoint provided to the call associated with this state change.

asyncIdentifier   void*

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

Remarks

An associated PartyEndpointDestroyedStateChange will be generated before this state change is generated.

Requirements

Header: Party.h

See also

Party members
PartyNetwork::DestroyEndpoint