OfferInReInviteEventArgs.SendProvisionalResponse Method
Sends a provisional response synchronously.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public MustOverride Sub SendProvisionalResponse ( _
responseCode As Integer, _
signalingHeaders As IEnumerable(Of SignalingHeader) _
)
'Usage
Dim instance As OfferInReInviteEventArgs
Dim responseCode As Integer
Dim signalingHeaders As IEnumerable(Of SignalingHeader)
instance.SendProvisionalResponse(responseCode, _
signalingHeaders)
public abstract void SendProvisionalResponse(
int responseCode,
IEnumerable<SignalingHeader> signalingHeaders
)
Parameters
- responseCode
Type: System.Int32
The provisional response code.
- signalingHeaders
Type: System.Collections.Generic.IEnumerable<SignalingHeader>
The collection of signaling headers. Can be null.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when called in an invalid state or a final response has already been sent. |
ArgumentOutOfRangeException | Thrown when the response code is not a provisional response. |
RealTimeException | Thrown when an error occurred while sending the response. |
See Also
Reference
OfferInReInviteEventArgs Class