ChatRoomSessionStateChanged Event

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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

'Declaration
Public Event ChatRoomSessionStateChanged As EventHandler(Of ChatRoomSessionStateChangedEventArgs)
'Usage
Dim instance As ChatRoomSession
Dim handler As EventHandler(Of ChatRoomSessionStateChangedEventArgs)

AddHandler instance.ChatRoomSessionStateChanged, handler
public event EventHandler<ChatRoomSessionStateChangedEventArgs> ChatRoomSessionStateChanged

See Also

Reference

ChatRoomSession Class

ChatRoomSession Members

Microsoft.Rtc.Collaboration.GroupChat Namespace