Call.SendProvisionalResponse(Int32, CallProvisionalResponseOptions) Method

Definition

Sends a provisional response synchronously.

protected:
 void SendProvisionalResponse(int responseCode, Microsoft::Rtc::Collaboration::CallProvisionalResponseOptions ^ options);
protected void SendProvisionalResponse (int responseCode, Microsoft.Rtc.Collaboration.CallProvisionalResponseOptions options);
member this.SendProvisionalResponse : int * Microsoft.Rtc.Collaboration.CallProvisionalResponseOptions -> unit
Protected 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

A provisional response must be sent on the primary signaling session of the call. A provisional response could be sent only on an Incoming call, before the call is established.

Applies to