PersistentChatUserServices.EndFindUsers method

Lync 2013

Completes the asynchronous request initiated by BeginFindUsers(String, String, String, AsyncCallback, Object)

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

'Declaration
Public Function EndFindUsers ( _
	asyncResult As IAsyncResult, _
	<OutAttribute> ByRef moreAvailable As Boolean _
) As ReadOnlyCollection(Of PersistentChatPrincipalSummary)
'Usage
Dim instance As PersistentChatUserServices
Dim asyncResult As IAsyncResult
Dim moreAvailable As Boolean
Dim returnValue As ReadOnlyCollection(Of PersistentChatPrincipalSummary)

returnValue = instance.EndFindUsers(asyncResult, _
	moreAvailable)

Parameters

asyncResult
Type: System.IAsyncResult

The IAsyncResult that references this operation.

moreAvailable
Type: System.Boolean

Output parameter - set to [true] if this search has truncated results. When [true], consider trying the search again with more restrictive search criteria.

Return value

Type: System.Collections.ObjectModel.ReadOnlyCollection<PersistentChatPrincipalSummary>
A collection of objects describing users or user groups matching any of the specified search strings.

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 was invoked multiple times with the same IAsyncResult instance.

Show: