Share via


ChatRoomSession.EndGetHiddenParticipantList Method

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

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

Syntax

'Declaration
Public Function EndGetHiddenParticipantList ( _
    asyncResult As IAsyncResult _
) As ReadOnlyCollection(Of ChatRoomParticipant)
'Usage
Dim instance As ChatRoomSession
Dim asyncResult As IAsyncResult
Dim returnValue As ReadOnlyCollection(Of ChatRoomParticipant)

returnValue = instance.EndGetHiddenParticipantList(asyncResult)
public ReadOnlyCollection<ChatRoomParticipant> EndGetHiddenParticipantList(
    IAsyncResult asyncResult
)

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ChatRoomParticipant>
A collection of objects describing the set of actively joined users on this chat room.

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

ChatRoomSession Class

ChatRoomSession Members

Microsoft.Rtc.Collaboration.GroupChat Namespace