Sends a provisional response
synchronously.
Namespace:
Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
---|
Protected Sub SendProvisionalResponse ( _ responseCode As Integer, _ options As CallProvisionalResponseOptions _ ) |
C# |
---|
protected void SendProvisionalResponse( int responseCode, CallProvisionalResponseOptions options ) |
Visual C++ |
---|
protected: void SendProvisionalResponse( int responseCode, CallProvisionalResponseOptions^ options ) |
JavaScript |
---|
function sendProvisionalResponse( responseCode, options); |
Parameters
- responseCode
- Type:
Int32
The provisional response code.
- options
- Type:
Microsoft.Rtc.Collaboration
.
.
::
.
CallProvisionalResponseOptions
Optional parameters for sending the provisional 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.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when the response code is not provisional. |
InvalidOperationException | Thrown when the call is in an invalid state. |
Microsoft.Rtc.Signaling . . :: . RealTimeException | Thrown when a transport error occurred while sending a response. |