Raised when the joined state of this 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 GroupChatEndpoint is disconnected. For best results, register for this event before invoking BeginJoin(ChatRoomSummary, AsyncCallback, Object) on the session.

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

Syntax

Visual Basic (Declaration)
Public Event 
ChatRoomSessionStateChanged 
As 
EventHandler(
Of 

ChatRoomSessionStateChangedEventArgs)
Visual Basic (Usage)
Dim 
instance 
As 

ChatRoomSession
Dim 
handler 
As 
EventHandler(
Of 

ChatRoomSessionStateChangedEventArgs)

AddHandler instance.
ChatRoomSessionStateChanged, 
handler
C#
public event 
EventHandler<

ChatRoomSessionStateChangedEventArgs> 
ChatRoomSessionStateChanged

See Also