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
- responseCode
Type: System..::..Int32
The provisional response code.
- signalingHeaders
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'SignalingHeader>)>)>
The collection of signaling headers, which can be nullNothingnullptrunita null reference (Nothing in Visual Basic).
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. |