ChatRoomSession Class
Enables a user to join a chat room. When joined to a chat room, a user can send and receive chat messages in real time.
Inheritance Hierarchy
System.Object
Microsoft.Rtc.Collaboration.GroupChat.ChatRoomSession
Namespace: Microsoft.Rtc.Collaboration.GroupChat
Assembly: Microsoft.Rtc.Collaboration.GroupChat (in Microsoft.Rtc.Collaboration.GroupChat.dll)
Syntax
'Declaration
Public Class ChatRoomSession
'Usage
Dim instance As ChatRoomSession
public class ChatRoomSession
Remarks
Each GroupChatEndpoint can join each ChatRoom at most one time. Subsequent attempts to join the same chat room will fail with ChatRoomSessionStateException. A collection of the currently ActiveChatRoomSessions may be obtained from GroupChatEndpoint; and a reference to a specific active chat room session may be obtained from Item[String].
Prior to invoking other methods on this class, the user must first choose a chat room to join, and invoke one of the overloaded Join methods. Additionally, for continuity of information, it is recommended that any events which are interesting to the user should be subscribed prior to invoking Join.
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.