InstantMessageModality.BeginSendMessage Method (String, AsyncCallback, Object)

Sends a plain text message to a remote conversation participant.

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

Syntax

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

returnValue = instance.BeginSendMessage(text, _
    modalityCallback, state)
public IAsyncResult BeginSendMessage(
    string text,
    AsyncCallback modalityCallback,
    Object state
)

Parameters

Return Value

Type: System.IAsyncResult

See Also

Reference

InstantMessageModality Class

InstantMessageModality Members

BeginSendMessage Overload

Microsoft.Lync.Model.Conversation Namespace