Completes the asynchronous request initiated by BeginGetGroupChatAdministrators(AsyncCallback, Object) .
Assembly: Microsoft.Rtc.Collaboration.GroupChat(in Microsoft.Rtc.Collaboration.GroupChat.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function EndGetGroupChatAdministrators ( _ asyncResult As IAsyncResult _ ) As ReadOnlyCollection( Of GroupChatPrincipal) |
Visual Basic (Usage) |
---|
Dim instance As GroupChatUserAdministrationServices Dim asyncResult As IAsyncResult Dim returnValue As ReadOnlyCollection( Of GroupChatPrincipal) returnValue = instance. EndGetGroupChatAdministrators( asyncResult) |
C# |
---|
public ReadOnlyCollection< GroupChatPrincipal> EndGetGroupChatAdministrators( IAsyncResult asyncResult ) |
Parameters
- asyncResult
- Type:
System
.
.
::
.
.
IAsyncResult
The IAsyncResult that references this operation.
Return Value
Type: System.Collections.ObjectModel . . :: . . ReadOnlyCollection < (Of < ( <' GroupChatPrincipal > ) > ) >A collection of objects describing the users and user groups who have been granted administrator privileges.
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. |