Compartilhar via


InstantMessageModality.BeginSendMessage Method (IDictionary<InstantMessageContentType, String>, AsyncCallback, Object)

Sends a text message formatted for specified content type to a remote conversation participant.

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

Syntax

'Declaration
Public Function BeginSendMessage ( _
    contents As IDictionary(Of InstantMessageContentType, String), _
    modalityCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As InstantMessageModality
Dim contents As IDictionary(Of InstantMessageContentType, String)
Dim modalityCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginSendMessage(contents, _
    modalityCallback, state)
public IAsyncResult BeginSendMessage(
    IDictionary<InstantMessageContentType, string> contents,
    AsyncCallback modalityCallback,
    Object state
)

Parameters

Return Value

Type: System.IAsyncResult

See Also

Reference

InstantMessageModality Class

InstantMessageModality Members

BeginSendMessage Overload

Microsoft.Lync.Model.Conversation Namespace