Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

System.Object
  Microsoft.Rtc.Collaboration.GroupChat.ChatRoomSession

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

public class ChatRoomSession

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.

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Show:
© 2015 Microsoft