PersistentChatServices.EndBrowseChatRoomsByInvitations Method

Definition

Completes the asynchronous request initiated by BeginBrowseChatRoomsByInvitations(Int32, AsyncCallback, Object)

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::Rtc::Collaboration::PersistentChat::ChatRoomInvitation ^> ^ EndBrowseChatRoomsByInvitations(IAsyncResult ^ asyncResult, [Runtime::InteropServices::Out] int % lastInviteId);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomInvitation> EndBrowseChatRoomsByInvitations (IAsyncResult asyncResult, out int lastInviteId);
member this.EndBrowseChatRoomsByInvitations : IAsyncResult *  -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomInvitation>
Public Function EndBrowseChatRoomsByInvitations (asyncResult As IAsyncResult, ByRef lastInviteId As Integer) As ReadOnlyCollection(Of ChatRoomInvitation)

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

lastInviteId
Int32

The lastInviteID returned from this request.

Returns

A collection of ChatRoomInvitation objects describing each of the chat room invitations. See BeginBrowseChatRoomsByInvitations(Int32, AsyncCallback, Object).

Exceptions

asyncResult is null.

The chat server encountered an error processing the request.

The PersistentChatEndpoint encountered an error communicating with the chat server.

This method was invoked multiple times with the same IAsyncResult instance.

Applies to