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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft