Give Us a Call: +1-877-99-BOPUP or Request for a Chat en Vivo

IServerClientVB::UpdateSession method

Updates current session opened with the IM server and sets new user's presence status, i.e. online, away.

Public Sub UpdateSession(     ByRef Status As VBStatusStruct,     ByRef ResultCode As UInteger )

Parameters

Status
[in] Variable of VBStatusStruct structure that contains information on the updated presence status.
ResultCode
[out] Variable of UInteger type that gets an extended code if error result is returned. For available codes see Available Extended Codes topic.

Return Value

S_OK
The function was successful.
S_FALSE
The function was successful but no changes occurred. Check ResultCode variable to get extended information.
E_INVALIDARG
One or more arguments are incorrect.
E_FAIL
Some error occurred in the function. Check ResultCode variable to get extended information on the error.