Share via


SendProvisionalResponse Method (Int32, IEnumerable(SignalingHeader))

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) _
)
'Usage
Dim instance As SignalingSession
Dim responseCode As Integer
Dim signalingHeaders As IEnumerable(Of SignalingHeader)

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

Parameters

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