Edit

Share via


AudioVideoCall.SendProvisionalResponse Method

Definition

Sends a provisional response synchronously with optional support for early media.

public:
 void SendProvisionalResponse(int responseCode, Microsoft::Rtc::Collaboration::CallProvisionalResponseOptions ^ options);
public void SendProvisionalResponse (int responseCode, Microsoft.Rtc.Collaboration.CallProvisionalResponseOptions options);
override this.SendProvisionalResponse : int * Microsoft.Rtc.Collaboration.CallProvisionalResponseOptions -> unit
Public Sub SendProvisionalResponse (responseCode As Integer, options As CallProvisionalResponseOptions)

Parameters

responseCode
Int32

The provisional response code.

options
CallProvisionalResponseOptions

Optional parameters for sending the provisional response.

Exceptions

Thrown when the response code is not provisional.

Thrown when the call is in an invalid state.

Thrown when a transport error occurred while sending a response.

Remarks

Provisional response will always be sent on the primary signaling session of the call. Provisional response can be sent only on an Incoming call, before the call is established.

Applies to