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
- contentType
Type: System.Net.Mime.ContentType
- body
Type: []
- userCallback
Type: System.AsyncCallback
- state
Type: System.Object
Return Value
Type: System.IAsyncResult