Initiates an operation to get an answer from the MediaProvider implementation for the incoming offer.

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

Syntax

Visual Basic (Declaration)
Protected 
MustOverride 
Function 
BeginGetAnswer ( _
	
offerAnswerContext 
As 

OfferAnswerContext, _
	
offer 
As 
SdpOffer,
_
	
userCallback 
As 
AsyncCallback, _
	
state 
As 
Object _
) 
As 
IAsyncResult
C#
protected 
abstract 
IAsyncResult 
BeginGetAnswer(
	

OfferAnswerContext 
offerAnswerContext,
	
SdpOffer 
offer,
	
AsyncCallback 
userCallback,
	
Object 
state
)
Visual C++
protected:
virtual 
IAsyncResult^ 
BeginGetAnswer(
	

OfferAnswerContext^ 
offerAnswerContext, 
	
SdpOffer^ 
offer, 
	
AsyncCallback^ 
userCallback, 
	
Object^ 
state
) 
abstract
JavaScript
function 
beginGetAnswer(
offerAnswerContext, 
offer, 
userCallback, 
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: AsyncCallback
The method to be called when the asynchronous operation is completed.
state
Type: Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Return Value

An IAsyncResult that references the asynchronous operation.

See Also