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

Visual Basic (Declaration)
Public 
ReadOnly 
Property 
ActiveChatRoomSessions 
As 
ReadOnlyCollection(
Of 

ChatRoomSession)
	
Get
Visual Basic (Usage)
Dim 
instance 
As 

GroupChatEndpoint
Dim 
value 
As 
ReadOnlyCollection(
Of 

ChatRoomSession)

value = instance.
ActiveChatRoomSessions
C#
public 
ReadOnlyCollection<

ChatRoomSession> 
ActiveChatRoomSessions { 
get; }

Property Value

Type: System.Collections.ObjectModel . . :: . . ReadOnlyCollection < (Of < ( <' ChatRoomSession > ) > ) >

The active chat room sessions.

See Also