Share via


BeginSendMessage Method (MessageType, RealTimeAddress, SendMessageOptions, AsyncCallback, Object)

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

Syntax

'Declaration
Public Function BeginSendMessage ( _
    messageType As MessageType, _
    sessionTarget As RealTimeAddress, _
    options As SendMessageOptions, _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As RealTimeEndpoint
Dim messageType As MessageType
Dim sessionTarget As RealTimeAddress
Dim options As SendMessageOptions
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginSendMessage(messageType, _
    sessionTarget, options, userCallback, _
    state)
public IAsyncResult BeginSendMessage(
    MessageType messageType,
    RealTimeAddress sessionTarget,
    SendMessageOptions options,
    AsyncCallback userCallback,
    Object state
)

Parameters

Return Value

Type: System..::..IAsyncResult

See Also

Reference

RealTimeEndpoint Class

RealTimeEndpoint Members

BeginSendMessage Overload

Microsoft.Rtc.Signaling Namespace