Raised when a chat message is received. 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 
ChatMessageReceived 
As 
EventHandler(
Of 

ChatMessageReceivedEventArgs)
Visual Basic (Usage)
Dim 
instance 
As 

ChatRoomSession
Dim 
handler 
As 
EventHandler(
Of 

ChatMessageReceivedEventArgs)

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

ChatMessageReceivedEventArgs> 
ChatMessageReceived

See Also