PersistentChatUserServices.EndFindUsers(IAsyncResult, Boolean) 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 BeginFindUsers(String, String, String, AsyncCallback, Object)
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::Rtc::Collaboration::PersistentChat::Management::PersistentChatPrincipalSummary ^> ^ EndFindUsers(IAsyncResult ^ asyncResult, [Runtime::InteropServices::Out] bool % moreAvailable);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.Rtc.Collaboration.PersistentChat.Management.PersistentChatPrincipalSummary> EndFindUsers (IAsyncResult asyncResult, out bool moreAvailable);
member this.EndFindUsers : IAsyncResult * -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.Rtc.Collaboration.PersistentChat.Management.PersistentChatPrincipalSummary>
Public Function EndFindUsers (asyncResult As IAsyncResult, ByRef moreAvailable As Boolean) As ReadOnlyCollection(Of PersistentChatPrincipalSummary)
Parameters
- asyncResult
- IAsyncResult
The IAsyncResult that references this operation.
- moreAvailable
- Boolean
Output parameter - set to true if this search has truncated results. When true, consider trying the search again with more restrictive search criteria.
Returns
A collection of objects describing users or user groups matching any of the specified search strings.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for