Edit

Share via


ChatRoomManagementServices.EndGetPresenters(IAsyncResult) Method

Definition

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

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

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

Returns

A collection of objects describing the presenters 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