SendProvisionalResponse Method
Sends a provisional response synchronously, with optional support for early media.
Namespace: Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub SendProvisionalResponse ( _
responseCode As Integer, _
options As CallProvisionalResponseOptions _
)
'Usage
Dim instance As AudioVideoCall
Dim responseCode As Integer
Dim options As CallProvisionalResponseOptions
instance.SendProvisionalResponse(responseCode, _
options)
public void SendProvisionalResponse(
int responseCode,
CallProvisionalResponseOptions options
)
Parameters
- responseCode
Type: System..::..Int32
Remarks
A provisional response will always be sent on the primary signaling session of the call. A provisional response could be sent on an Incoming call only before the call is established.
Exceptions
[T:System.ArgumentOutOfRangeException]: Thrown when the response code is not provisional.
[T:System.InvalidOperationException]: Thrown when called in an invalid state.
[T:Microsoft.Rtc.Signaling.RealTimeException]: Thrown when a transport error occurred while sending a response.