Call.BeginSendInfo Method
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. AudioVideoCall users can refer to AudioVideoCall.BeginSendMessage(). Derived class implementation can refer to protected method BeginSendMessage().")> _
Public Function BeginSendInfo ( _
contentType As ContentType, _
contentBody As Byte(), _
signalingHeaders As IEnumerable(Of SignalingHeader), _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As Call
Dim contentType As ContentType
Dim contentBody As Byte()
Dim signalingHeaders As IEnumerable(Of SignalingHeader)
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginSendInfo(contentType, _
contentBody, signalingHeaders, userCallback, _
state)
[ObsoleteAttribute("This method will be removed from future versions. AudioVideoCall users can refer to AudioVideoCall.BeginSendMessage(). Derived class implementation can refer to protected method BeginSendMessage().")]
public IAsyncResult BeginSendInfo(
ContentType contentType,
byte[] contentBody,
IEnumerable<SignalingHeader> signalingHeaders,
AsyncCallback userCallback,
Object state
)
Parameters
- contentType
Type: System.Net.Mime.ContentType
- contentBody
Type: []
- signalingHeaders
Type: System.Collections.Generic.IEnumerable<SignalingHeader>
- userCallback
Type: System.AsyncCallback
- state
Type: System.Object
Return Value
Type: System.IAsyncResult