Edit

Share via


OfferInReInviteEventArgs.BeginAccept Method

Definition

Accepts the offer and triggers IOfferAnswer.GetAnswer calls to send the answer.

public:
 abstract IAsyncResult ^ BeginAccept(System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ signalingHeaders, AsyncCallback ^ userCallback, System::Object ^ state);
public abstract IAsyncResult BeginAccept (System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> signalingHeaders, AsyncCallback userCallback, object state);
abstract member BeginAccept : seq<Microsoft.Rtc.Signaling.SignalingHeader> * AsyncCallback * obj -> IAsyncResult
Public MustOverride Function BeginAccept (signalingHeaders As IEnumerable(Of SignalingHeader), userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

signalingHeaders
IEnumerable<SignalingHeader>

The signaling headers to use in the response. Can be null.

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Exceptions

Thrown when final response has already been sent.

Remarks

The application can call this method when it is ready with the answer for the offer represented in this event arg.

Applies to