PartyNetwork::DisconnectChatControl
Disconnects the local chat control from the network.
Syntax
PartyError DisconnectChatControl(
PartyLocalChatControl* chatControl,
void* asyncIdentifier
)
Parameters
chatControl
PartyLocalChatControl*
The chat control to disconnect from this network.
asyncIdentifier
void*
optional
An optional, app-defined, pointer-sized context value that can be used to associate the completion state change with this call.
Return value
PartyError
c_partyErrorSuccess
if the asynchronous operation to disconnect the chat control began, or an error code otherwise. If this method fails, no related state changes will be generated. The human-readable form of the error code can be retrieved via PartyManager::GetErrorMessage().
Requirements
Header: Party.h
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for