PersistentChatServices.EndQueryChatHistory(IAsyncResult) Method

Definition

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

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

Returns

A collection of ChatHistoryResult objects, one for each chat room that was queried, containing messages that match the query.

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