MediaProvider.BeginGetAnswer Method

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

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

Syntax

'Declaration
Protected MustOverride Function BeginGetAnswer ( _
    offerAnswerContext As OfferAnswerContext, _
    offer As SdpOffer, _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim offerAnswerContext As OfferAnswerContext
Dim offer As SdpOffer
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = Me.BeginGetAnswer(offerAnswerContext, _
    offer, userCallback, state)
protected abstract IAsyncResult BeginGetAnswer(
    OfferAnswerContext offerAnswerContext,
    SdpOffer offer,
    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.

See Also

Reference

MediaProvider Class

MediaProvider Members

Microsoft.Rtc.Collaboration.ComponentModel Namespace