PersistentChatServices.EndBrowseChatRoomsByJoinedUser(IAsyncResult) Method

Definition

Completes the asynchronous request initiated by BeginBrowseChatRoomsByJoinedUser(Uri, AsyncCallback, Object)

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::Rtc::Collaboration::PersistentChat::ChatRoomSnapshot ^> ^ EndBrowseChatRoomsByJoinedUser(IAsyncResult ^ asyncResult);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSnapshot> EndBrowseChatRoomsByJoinedUser (IAsyncResult asyncResult);
member this.EndBrowseChatRoomsByJoinedUser : IAsyncResult -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSnapshot>
Public Function EndBrowseChatRoomsByJoinedUser (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 to which the specified user is presently joined.

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 invoked multiple times with the same IAsyncResult instance.

Applies to