Share via


ChatRoomManagementServices.EndAddUsersOrGroupsToRole Method

Completes the asynchronous request initiated by BeginAddUsersOrGroupsToRole(ChatRoomRole, Uri, ICollection<GroupChatPrincipalSummary>, AsyncCallback, Object).

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

Syntax

'Declaration
Public Sub EndAddUsersOrGroupsToRole ( _
    asyncResult As IAsyncResult _
)
'Usage
Dim instance As ChatRoomManagementServices
Dim asyncResult As IAsyncResult

instance.EndAddUsersOrGroupsToRole(asyncResult)
public void EndAddUsersOrGroupsToRole(
    IAsyncResult asyncResult
)

Parameters

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

ChatRoomManagementServices Class

ChatRoomManagementServices Members

Microsoft.Rtc.Collaboration.GroupChat.Management Namespace