GroupChatEndpoint.ActiveChatRoomSessions Property

Gets a copy of the collection of currently active ChatRoomSession instances. Only those sessions which have successfully joined a chat room are included in the collection of ActiveChatRoomSessions. This property returns copy of the endpoint's collection. To access a single active ChatRoomSession by name, without incurring this overhead, use the indexer (see Item[String]).

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

Syntax

'Declaration
Public ReadOnly Property ActiveChatRoomSessions As ReadOnlyCollection(Of ChatRoomSession)
    Get
'Usage
Dim instance As GroupChatEndpoint
Dim value As ReadOnlyCollection(Of ChatRoomSession)

value = instance.ActiveChatRoomSessions
public ReadOnlyCollection<ChatRoomSession> ActiveChatRoomSessions { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ChatRoomSession>
The active chat room sessions.

See Also

Reference

GroupChatEndpoint Class

GroupChatEndpoint Members

Microsoft.Rtc.Collaboration.GroupChat Namespace