GroupChatUserAdministrationServices.EndFindUsersOrGroupsByCriteria Method

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

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

Syntax

'Declaration
Public Function EndFindUsersOrGroupsByCriteria ( _
    asyncResult As IAsyncResult _
) As ReadOnlyCollection(Of GroupChatPrincipalSummary)
'Usage
Dim instance As GroupChatUserAdministrationServices
Dim asyncResult As IAsyncResult
Dim returnValue As ReadOnlyCollection(Of GroupChatPrincipalSummary)

returnValue = instance.EndFindUsersOrGroupsByCriteria(asyncResult)
public ReadOnlyCollection<GroupChatPrincipalSummary> EndFindUsersOrGroupsByCriteria(
    IAsyncResult asyncResult
)

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<GroupChatPrincipalSummary>
A collection of objects describing users or user groups matching the requested search string.

Exceptions

Exception Condition
ArgumentException

Thrown when invalid arguments are passed.

[Microsoft.Rtc.Collaboration.GroupChat.CommandFailedException]

Thrown when the chat server encountered an error processing the request.

[RealTimeException]

Thrown when the GroupChatEndpoint encounters an error communicating with the group chat server.

[System.InvalidOperationException]

Thrown when invoked multiple times with the same asyncResult.

See Also

Reference

GroupChatUserAdministrationServices Class

GroupChatUserAdministrationServices Members

Microsoft.Rtc.Collaboration.GroupChat.Management Namespace