ChatRoomManagementServices.EndGetMembers(IAsyncResult) Method

Definition

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

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

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

Returns

A collection of objects describing the members of the requested chat room.

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