SendProvisionalResponse Method (Int32, IEnumerable(SignalingHeader), Boolean)

Sends a provisional response synchronously.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub SendProvisionalResponse ( _
    responseCode As Integer, _
    signalingHeaders As IEnumerable(Of SignalingHeader), _
    needEarlyMediaSupport As Boolean _
)
'Usage
Dim instance As SignalingSession
Dim responseCode As Integer
Dim signalingHeaders As IEnumerable(Of SignalingHeader)
Dim needEarlyMediaSupport As Boolean

instance.SendProvisionalResponse(responseCode, _
    signalingHeaders, needEarlyMediaSupport)
public void SendProvisionalResponse(
    int responseCode,
    IEnumerable<SignalingHeader> signalingHeaders,
    bool needEarlyMediaSupport
)

Parameters

  • needEarlyMediaSupport
    Type: System..::..Boolean
    true to indicate that the application wants to send offer/answer in the response.

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown when the response code is not provisional.

InvalidOperationException

Thrown when called in an invalid state.

RealTimeException

Thrown when a transport error occurred while sending a response.

See Also

Reference

SignalingSession Class

SignalingSession Members

SendProvisionalResponse Overload

Microsoft.Rtc.Signaling Namespace