PartyCreateEndpointCompletedStateChange

Information specific to the CreateEndpointCompleted type of state change.

Syntax

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

Members

result   PartyStateChangeResult

Indicates that the create endpoint 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.

localUser   PartyLocalUser*
may be nullptr

The local user provided to the call associated with this state change if one was provided.

asyncIdentifier   void*

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

localEndpoint   PartyLocalEndpoint*

The endpoint that was created.

Remarks

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

Requirements

Header: Party.h

See also

Party members
PartyNetwork::CreateEndpoint