Dela via


MediaProvider.BeginGetOffer Method

Begins the asynchronous operation to get the sdp offer from MediaProvider.

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

Syntax

'Declaration
Protected MustOverride Function BeginGetOffer ( _
    offerAnswerContext As OfferAnswerContext, _
    lastLocalOutgoingSdps As Collection(Of SdpContentDescription), _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim offerAnswerContext As OfferAnswerContext
Dim lastLocalOutgoingSdps As Collection(Of SdpContentDescription)
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = Me.BeginGetOffer(offerAnswerContext, _
    lastLocalOutgoingSdps, userCallback, _
    state)
protected abstract IAsyncResult BeginGetOffer(
    OfferAnswerContext offerAnswerContext,
    Collection<SdpContentDescription> lastLocalOutgoingSdps,
    AsyncCallback userCallback,
    Object state
)

Parameters

  • userCallback
    Type: System.AsyncCallback
    The method to be called when the asynchronous operation is completed.
  • state
    Type: System.Object
    A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Return Value

Type: System.IAsyncResult
An IAsyncResult that references the asynchronous operation.

Remarks

The last local outgoing SDP can be either the last outgoing offer or answer. An outgoing offer can contain multiple SDP session descriptions.

See Also

Reference

MediaProvider Class

MediaProvider Members

Microsoft.Rtc.Collaboration.ComponentModel Namespace