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
- offerAnswerContext
Type: Microsoft.Rtc.Collaboration.ComponentModel.OfferAnswerContext
The OfferAnswer context for the corresponding call.
- offer
Type: Microsoft.Rtc.Collaboration.SdpOffer
The incoming offer.
- 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.