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
- text
Type: System.String
- modalityCallback
Type: System.AsyncCallback
- state
Type: System.Object
Return Value
Type: System.IAsyncResult