PersistentChatServices.EndQueryChatHistory method

Namespace:  Microsoft.Rtc.Collaboration.PersistentChat
Assembly:  Microsoft.Rtc.Collaboration.PersistentChat (in Microsoft.Rtc.Collaboration.PersistentChat.dll)

public ReadOnlyCollection<ChatHistoryResult> EndQueryChatHistory(
	IAsyncResult asyncResult
)

Parameters

asyncResult
Type: System.IAsyncResult

The IAsyncResult that references this operation.

Return value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ChatHistoryResult>
A collection of ChatHistoryResult objects, one for each chat room that was queried, containing messages that match the query.

ExceptionCondition
ArgumentNullException

asyncResult is null.

CommandFailedException

The chat server encountered an error processing the request.

RealTimeException

The PersistentChatEndpoint encountered an error communicating with the chat server.

InvalidOperationException

This method invoked multiple times with the same IAsyncResult instance.

Show:
© 2014 Microsoft