PersistentChatServices.EndBrowseChatRoomsByCriteria(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 BeginBrowseChatRoomsByCriteria(String, Boolean, Boolean, Boolean, AsyncCallback, Object) or BeginBrowseChatRoomsByCriteria(String, Boolean, Boolean, Boolean, Int32, AsyncCallback, Object)
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::Rtc::Collaboration::PersistentChat::ChatRoomSnapshot ^> ^ EndBrowseChatRoomsByCriteria(IAsyncResult ^ asyncResult);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSnapshot> EndBrowseChatRoomsByCriteria(IAsyncResult asyncResult);
member this.EndBrowseChatRoomsByCriteria : IAsyncResult -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSnapshot>
Public Function EndBrowseChatRoomsByCriteria (asyncResult As IAsyncResult) As ReadOnlyCollection(Of ChatRoomSnapshot)
Parameters
- asyncResult
- IAsyncResult
The IAsyncResult that references this operation.
Returns
A collection of ChatRoomSnapshot objects describing chat rooms which match the specified criteria.
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.