Partager via


InstantMessageModality.InstantMessageReceived Event

Occurs when an instant message is received, or sent if the InstantMessageModality belongs to the local participant.

Namespace:  Microsoft.Lync.Model.Conversation
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Event InstantMessageReceived As EventHandler(Of MessageSentEventArgs)
'Usage
Dim instance As InstantMessageModality
Dim handler As EventHandler(Of MessageSentEventArgs)

AddHandler instance.InstantMessageReceived, handler
public event EventHandler<MessageSentEventArgs> InstantMessageReceived

See Also

Reference

InstantMessageModality Class

InstantMessageModality Members

Microsoft.Lync.Model.Conversation Namespace