Share via


InstantMessagingFlow.BeginSendMessage Method (ContentType, Byte , 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 ( _
    contentType As ContentType, _
    body As Byte(), _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As InstantMessagingFlow
Dim contentType As ContentType
Dim body As Byte()
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginSendMessage(contentType, _
    body, userCallback, state)
[ObsoleteAttribute("This method will be removed from future versions, please use BeginSendInstantMessage instead.")]
public IAsyncResult BeginSendMessage(
    ContentType contentType,
    byte[] body,
    AsyncCallback userCallback,
    Object state
)

Parameters

  • body
    Type: []

Return Value

Type: System.IAsyncResult

See Also

Reference

InstantMessagingFlow Class

InstantMessagingFlow Members

BeginSendMessage Overload

Microsoft.Rtc.Collaboration Namespace