BeginSendMessage Method

Send a session message on the Call.

Namespace: Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Protected Function BeginSendMessage ( _
    signalingContext As CallDialogContext, _
    messageType As MessageType, _
    message As ContentDescription, _
    messageHeaders As IEnumerable(Of SignalingHeader), _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim signalingContext As CallDialogContext
Dim messageType As MessageType
Dim message As ContentDescription
Dim messageHeaders As IEnumerable(Of SignalingHeader)
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = Me.BeginSendMessage(signalingContext, _
    messageType, message, messageHeaders, _
    userCallback, state)
protected IAsyncResult BeginSendMessage(
    CallDialogContext signalingContext,
    MessageType messageType,
    ContentDescription message,
    IEnumerable<SignalingHeader> messageHeaders,
    AsyncCallback userCallback,
    Object state
)

Parameters

Return Value

Type: System..::..IAsyncResult

Remarks

Exceptions

[T:System.ArgumentNullException]: Thrown if context parameter passed as null.

See Also

Reference

MediaProvider Class

MediaProvider Members

Microsoft.Rtc.Collaboration.ComponentModel Namespace