PersistentChatServices.BeginBrowseChatRoomsByInvitations Method

Definition

Browse the list of chat rooms to which the currently logged in user has been invited. Chat room invitations are issued by the server in batches, and some invitations may not be immediately available for browsing.

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

public:
 IAsyncResult ^ BeginBrowseChatRoomsByInvitations(int lastInviteID, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginBrowseChatRoomsByInvitations (int lastInviteID, AsyncCallback userCallback, object state);
member this.BeginBrowseChatRoomsByInvitations : int * AsyncCallback * obj -> IAsyncResult
Public Function BeginBrowseChatRoomsByInvitations (lastInviteID As Integer, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

lastInviteID
Int32

Only returns chat room invitations with an ID greater than this

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

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