ChatRoomSession.ChatRoomSessionStateChanged Event

Definition

Raised when the state of this chat room session changes. This event will fire when invoking BeginJoin(ChatRoomSummary, AsyncCallback, Object) or BeginLeave(AsyncCallback, Object) on the session. It will also be fired if the membership privileges of the currently logged in user change, or if the PersistentChatEndpoint is disconnected. For best results, register for this event before invoking BeginJoin(ChatRoomSummary, AsyncCallback, Object) on the session.

public:
 event EventHandler<Microsoft::Rtc::Collaboration::PersistentChat::ChatRoomSessionStateChangedEventArgs ^> ^ ChatRoomSessionStateChanged;
public event EventHandler<Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSessionStateChangedEventArgs> ChatRoomSessionStateChanged;
member this.ChatRoomSessionStateChanged : EventHandler<Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSessionStateChangedEventArgs> 
Public Custom Event ChatRoomSessionStateChanged As EventHandler(Of ChatRoomSessionStateChangedEventArgs) 

Event Type

Applies to