SignalingSession.SendProvisionalResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SendProvisionalResponse(Int32, IEnumerable<SignalingHeader>) |
Sends a provisional response synchronously. |
SendProvisionalResponse(Int32, IEnumerable<SignalingHeader>, Boolean) |
Sends a provisional response synchronously with optional support for early media. |
SendProvisionalResponse(Int32, String, IEnumerable<SignalingHeader>, Boolean) |
Sends a provisional response synchronously with optional support for early media. |
SendProvisionalResponse(Int32, IEnumerable<SignalingHeader>)
Sends a provisional response synchronously.
public:
void SendProvisionalResponse(int responseCode, System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ signalingHeaders);
public void SendProvisionalResponse (int responseCode, System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> signalingHeaders);
member this.SendProvisionalResponse : int * seq<Microsoft.Rtc.Signaling.SignalingHeader> -> unit
Public Sub SendProvisionalResponse (responseCode As Integer, signalingHeaders As IEnumerable(Of SignalingHeader))
Parameters
- responseCode
- Int32
The provisional response code.
- signalingHeaders
- IEnumerable<SignalingHeader>
The collection of signaling headers. Can be null.
Exceptions
Thrown when the response code is not provisional.
Thrown when called in an invalid state.
Thrown when a transport error occurred while sending a response.
Applies to
SendProvisionalResponse(Int32, IEnumerable<SignalingHeader>, Boolean)
Sends a provisional response synchronously with optional support for early media.
public:
void SendProvisionalResponse(int responseCode, System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ signalingHeaders, bool needEarlyMediaSupport);
public void SendProvisionalResponse (int responseCode, System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> signalingHeaders, bool needEarlyMediaSupport);
member this.SendProvisionalResponse : int * seq<Microsoft.Rtc.Signaling.SignalingHeader> * bool -> unit
Public Sub SendProvisionalResponse (responseCode As Integer, signalingHeaders As IEnumerable(Of SignalingHeader), needEarlyMediaSupport As Boolean)
Parameters
- responseCode
- Int32
The provisional response code.
- signalingHeaders
- IEnumerable<SignalingHeader>
The collection of signaling headers. Can be null.
- needEarlyMediaSupport
- Boolean
True to indicate that the application wants to send offer/answer in the response.
Exceptions
Thrown when the response code is not provisional.
Thrown when called in an invalid state.
Thrown when a transport error occurred while sending a response.
Applies to
SendProvisionalResponse(Int32, String, IEnumerable<SignalingHeader>, Boolean)
Sends a provisional response synchronously with optional support for early media.
public:
void SendProvisionalResponse(int responseCode, System::String ^ responseText, System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ signalingHeaders, bool needEarlyMediaSupport);
public void SendProvisionalResponse (int responseCode, string responseText, System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> signalingHeaders, bool needEarlyMediaSupport);
member this.SendProvisionalResponse : int * string * seq<Microsoft.Rtc.Signaling.SignalingHeader> * bool -> unit
Public Sub SendProvisionalResponse (responseCode As Integer, responseText As String, signalingHeaders As IEnumerable(Of SignalingHeader), needEarlyMediaSupport As Boolean)
Parameters
- responseCode
- Int32
The provisional response code.
- responseText
- String
Reason phrase to send out with the response. If null or empty default reason phrase will be generated.
- signalingHeaders
- IEnumerable<SignalingHeader>
The collection of signaling headers. Can be null.
- needEarlyMediaSupport
- Boolean
True to indicate that the application wants to send offer/answer in the response.
Exceptions
Thrown when the response code is not provisional.
Thrown when called in an invalid state.
Thrown when a transport error occurred while sending a response.