Accepts the offer and triggers IOfferAnswer.GetAnswer calls to send the answer. The application can call this method when it is ready with the answer for the offer represented in this event arg.

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

Syntax

Visual Basic (Declaration)
Public 
MustOverride 
Sub 
ReadyToAnswer ( _
	
signalingHeaders 
As 
IEnumerable(
Of 

SignalingHeader) _
)
C#
public 
abstract 
void 
ReadyToAnswer(
	
IEnumerable<

SignalingHeader> 
signalingHeaders
)
Visual C++
public:
virtual 
void 
ReadyToAnswer(
	
IEnumerable<

SignalingHeader^>^ 
signalingHeaders
) 
abstract
JavaScript
function 
readyToAnswer(
signalingHeaders);

Parameters

signalingHeaders
Type: IEnumerable < (Of < ( SignalingHeader > ) > )
The signaling headers to use in the acknowledgement. Can be null.

Exceptions

Exception Condition
InvalidOperationException Thrown when acknowledgement has already been sent.

See Also