PersistentChatUserServices.EndFindUsers method

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
PublicFunctionEndFindUsers ( _
	asyncResultAsIAsyncResult, _
	<OutAttribute> ByRefmoreAvailableAsBoolean _
) AsReadOnlyCollection(OfPersistentChatPrincipalSummary)
'Usage
DiminstanceAsPersistentChatUserServicesDimasyncResultAsIAsyncResultDimmoreAvailableAsBooleanDimreturnValueAsReadOnlyCollection(OfPersistentChatPrincipalSummary)

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.

Community Additions

ADD
Show:
© 2014 Microsoft