Partilhar via


AudioVideoCall.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
    The provisional response code.

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown when the response code is not provisional.

InvalidOperationException

Thrown when the call is in an invalid state.

RealTimeException

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.

See Also

Reference

AudioVideoCall Class

AudioVideoCall Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace