InstantMessagingFlow.BeginSendMessage Method (String, AsyncCallback, Object)
NOTE: This API is now obsolete.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
<ObsoleteAttribute("This method will be removed from future versions, please use BeginSendInstantMessage instead.")> _
Public Function BeginSendMessage ( _
textBody As String, _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As InstantMessagingFlow
Dim textBody As String
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginSendMessage(textBody, _
userCallback, state)
[ObsoleteAttribute("This method will be removed from future versions, please use BeginSendInstantMessage instead.")]
public IAsyncResult BeginSendMessage(
string textBody,
AsyncCallback userCallback,
Object state
)
Parameters
- textBody
Type: System.String
- userCallback
Type: System.AsyncCallback
- state
Type: System.Object
Return Value
Type: System.IAsyncResult