PersistentChatServices.BeginBrowseChatRoomsByJoinedUser Method

Definition

Browse the list of chat rooms on which the specified user is presently joined.

This request will be processed asynchronously. See EndBrowseChatRoomsByJoinedUser(IAsyncResult) to complete this asynchronous operation.

public:
 IAsyncResult ^ BeginBrowseChatRoomsByJoinedUser(Uri ^ userSipUri, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginBrowseChatRoomsByJoinedUser (Uri userSipUri, AsyncCallback userCallback, object state);
member this.BeginBrowseChatRoomsByJoinedUser : Uri * AsyncCallback * obj -> IAsyncResult
Public Function BeginBrowseChatRoomsByJoinedUser (userSipUri As Uri, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

userSipUri
Uri

The user's SIP URI.

userCallback
AsyncCallback

The method to be invoked when this asynchronous operation completes.

state
Object

An object to be passed back to the callback.

Returns

An IAsyncResult that references this operation.

Exceptions

userSipUri is null.

userSipUri is not a valid SIP URI.

The chat server connection is not in a valid state to send the command.

The PersistentChatEndpoint encountered an error communicating with the chat server.

Applies to