Edit

Share via


ChatRoomManagementServices.EndGetCategoryUsers(IAsyncResult) Method

Definition

Completes the asynchronous request initiated by BeginGetCategoryUsers(Uri, String, Int32, AsyncCallback, Object).

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

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

Returns

Returns a list of ChatPrincipalSummary objects for a category based on the search parameters BeginGetCategoryUsers receives.

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