PersistentChatServices.EndBrowseMyChatRooms(IAsyncResult) Method

Definition

Completes the asynchronous request initiated by BeginBrowseMyChatRooms(AsyncCallback, Object, UInt32)

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::Rtc::Collaboration::PersistentChat::ChatRoomSnapshot ^> ^ EndBrowseMyChatRooms(IAsyncResult ^ asyncResult);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSnapshot> EndBrowseMyChatRooms (IAsyncResult asyncResult);
member this.EndBrowseMyChatRooms : IAsyncResult -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSnapshot>
Public Function EndBrowseMyChatRooms (asyncResult As IAsyncResult) As ReadOnlyCollection(Of ChatRoomSnapshot)

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

Returns

A collection of ChatRoomSnapshot objects describing chat rooms of which the user is a memeber. See BeginBrowseMyChatRooms(AsyncCallback, Object, UInt32).

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