ReadyToAnswer Method
Accepts the offer and triggers [IOfferAnswer.GetAnswer] calls to send the answer.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public MustOverride Sub ReadyToAnswer ( _
signalingHeaders As IEnumerable(Of SignalingHeader) _
)
'Usage
Dim instance As OfferInInviteResponseEventArgs
Dim signalingHeaders As IEnumerable(Of SignalingHeader)
instance.ReadyToAnswer(signalingHeaders)
public abstract void ReadyToAnswer(
IEnumerable<SignalingHeader> signalingHeaders
)
Parameters
- signalingHeaders
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'SignalingHeader>)>)>
The signaling headers to use in the acknowledgement, which can be nullNothingnullptrunita null reference (Nothing in Visual Basic).
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the acknowledgement has already been sent. |
Remarks
The application can call this method when it is ready with the answer for the offer represented in this [eventarg] object.
See Also
Reference
OfferInInviteResponseEventArgs Class