OfferInReInviteEventArgs.Accept(IEnumerable<SignalingHeader>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Synchronously accepts the offer and triggers IOfferAnswer.GetAnswer calls to send the answer.
public:
Microsoft::Rtc::Signaling::SipRequestData ^ Accept(System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ signalingHeaders);
public Microsoft.Rtc.Signaling.SipRequestData Accept (System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> signalingHeaders);
member this.Accept : seq<Microsoft.Rtc.Signaling.SignalingHeader> -> Microsoft.Rtc.Signaling.SipRequestData
Public Function Accept (signalingHeaders As IEnumerable(Of SignalingHeader)) As SipRequestData
Parameters
- signalingHeaders
- IEnumerable<SignalingHeader>
The signaling headers to use in the response. Can be null.
Returns
Exceptions
Thrown when final response has already been sent.
Thrown when there are problems with arguments supplied.
Thrown when ack is not received.
Thrown when the response cannot be sent for other reasons.
Remarks
The application can call this method when it is ready with the answer for the offer represented in this event arg.
This method is not recommended for UI threads or scalable server applications.