Call.BeginSendMessage Method
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Function BeginSendMessage ( _
messageType As MessageType, _
contentType As ContentType, _
body As Byte(), _
signalingHeaders As IEnumerable(Of SignalingHeader), _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim messageType As MessageType
Dim contentType As ContentType
Dim body As Byte()
Dim signalingHeaders As IEnumerable(Of SignalingHeader)
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = Me.BeginSendMessage(messageType, _
contentType, body, signalingHeaders, _
userCallback, state)
protected IAsyncResult BeginSendMessage(
MessageType messageType,
ContentType contentType,
byte[] body,
IEnumerable<SignalingHeader> signalingHeaders,
AsyncCallback userCallback,
Object state
)
Parameters
- messageType
Type: Microsoft.Rtc.Signaling.MessageType
- contentType
Type: System.Net.Mime.ContentType
- body
Type: []
- signalingHeaders
Type: System.Collections.Generic.IEnumerable<SignalingHeader>
- userCallback
Type: System.AsyncCallback
- state
Type: System.Object
Return Value
Type: System.IAsyncResult