ChatRoomSession.EndQueryChatHistory(IAsyncResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Completes the asynchronous request initiated by BeginQueryChatHistory(ChatHistoryQueryOptions, AsyncCallback, Object) or BeginQueryChatHistory(String, Boolean, Boolean, AsyncCallback, Object)
public:
Microsoft::Rtc::Collaboration::PersistentChat::ChatHistoryResult ^ EndQueryChatHistory(IAsyncResult ^ asyncResult);
public Microsoft.Rtc.Collaboration.PersistentChat.ChatHistoryResult EndQueryChatHistory (IAsyncResult asyncResult);
member this.EndQueryChatHistory : IAsyncResult -> Microsoft.Rtc.Collaboration.PersistentChat.ChatHistoryResult
Public Function EndQueryChatHistory (asyncResult As IAsyncResult) As ChatHistoryResult
Parameters
- asyncResult
- IAsyncResult
The IAsyncResult that references this operation.
Returns
The result of this chat history 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 was invoked multiple times with the same IAsyncResult instance.