AudioVideoCall.SendProvisionalResponse 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.
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.