PersistentChatServices.BeginBrowseMyChatRooms Method

Definition

Browse the list of chat rooms of which the currently logged in user is a member. This request will be processed asynchronously. See EndBrowseMyChatRooms(IAsyncResult) to complete this asynchronous operation.

public:
 IAsyncResult ^ BeginBrowseMyChatRooms(AsyncCallback ^ userCallback, System::Object ^ state, System::UInt32 maxResults);
public IAsyncResult BeginBrowseMyChatRooms (AsyncCallback userCallback, object state, uint maxResults);
member this.BeginBrowseMyChatRooms : AsyncCallback * obj * uint32 -> IAsyncResult
Public Function BeginBrowseMyChatRooms (userCallback As AsyncCallback, state As Object, maxResults As UInteger) As IAsyncResult

Parameters

userCallback
AsyncCallback

The method to be invoked when this asynchronous operation completes.

state
Object

An object to be passed back to the callback.

maxResults
UInt32

The maximum number of rooms to return subject to server configured limits.

Returns

An IAsyncResult that references this operation.

Exceptions

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