Edit

Share via


SignalingSession.BeginSendReliableProvisionalResponse Method

Definition

Overloads

BeginSendReliableProvisionalResponse(Int32, String, IEnumerable<SignalingHeader>, Boolean, AsyncCallback, Object)

This method can be used to send a reliable provisional response with option to send answer for early media. If the inviter supports 100rel and the local policy is not unsupported, this method will wait for the PRACK. Otherwise, this method will not require 100rel. Any application that supports 100rel is recommended to use this method for sending provisional response. SendProvisional method can be used only when the application knows for sure that the remote does not require 100rel.

BeginSendReliableProvisionalResponse(Int32, IEnumerable<SignalingHeader>, Boolean, AsyncCallback, Object)

This method can be used to send a reliable provisional response with option to send answer for early media. If the inviter supports 100rel and the local policy is not unsupported, this method will wait for the PRACK. Otherwise, this method will not require 100rel. Any application that supports 100rel is recommended to use this method for sending provisional response. SendProvisional method can be used only when the application knows for sure that the remote does not require 100rel.

BeginSendReliableProvisionalResponse(Int32, String, IEnumerable<SignalingHeader>, Boolean, AsyncCallback, Object)

This method can be used to send a reliable provisional response with option to send answer for early media. If the inviter supports 100rel and the local policy is not unsupported, this method will wait for the PRACK. Otherwise, this method will not require 100rel. Any application that supports 100rel is recommended to use this method for sending provisional response. SendProvisional method can be used only when the application knows for sure that the remote does not require 100rel.

public:
 IAsyncResult ^ BeginSendReliableProvisionalResponse(int responseCode, System::String ^ responseText, System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ signalingHeaders, bool needEarlyMediaSupport, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginSendReliableProvisionalResponse (int responseCode, string responseText, System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> signalingHeaders, bool needEarlyMediaSupport, AsyncCallback userCallback, object state);
member this.BeginSendReliableProvisionalResponse : int * string * seq<Microsoft.Rtc.Signaling.SignalingHeader> * bool * AsyncCallback * obj -> IAsyncResult
Public Function BeginSendReliableProvisionalResponse (responseCode As Integer, responseText As String, signalingHeaders As IEnumerable(Of SignalingHeader), needEarlyMediaSupport As Boolean, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

responseCode
Int32

The provisional response code in the range 101-199.

responseText
String

Reason phrase send out with the response. If null or empty default reason phrase will be generated.

signalingHeaders
IEnumerable<SignalingHeader>

The custom signaling headers to add the response. Can be null.

needEarlyMediaSupport
Boolean

The flag indicating whether the provisional response need to send media description.

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Exceptions

Thrown when the response code is not a provisional response code.

Thrown if the sesssion is not in incoming state.

Applies to

BeginSendReliableProvisionalResponse(Int32, IEnumerable<SignalingHeader>, Boolean, AsyncCallback, Object)

This method can be used to send a reliable provisional response with option to send answer for early media. If the inviter supports 100rel and the local policy is not unsupported, this method will wait for the PRACK. Otherwise, this method will not require 100rel. Any application that supports 100rel is recommended to use this method for sending provisional response. SendProvisional method can be used only when the application knows for sure that the remote does not require 100rel.

public:
 IAsyncResult ^ BeginSendReliableProvisionalResponse(int responseCode, System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ signalingHeaders, bool needEarlyMediaSupport, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginSendReliableProvisionalResponse (int responseCode, System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> signalingHeaders, bool needEarlyMediaSupport, AsyncCallback userCallback, object state);
member this.BeginSendReliableProvisionalResponse : int * seq<Microsoft.Rtc.Signaling.SignalingHeader> * bool * AsyncCallback * obj -> IAsyncResult
Public Function BeginSendReliableProvisionalResponse (responseCode As Integer, signalingHeaders As IEnumerable(Of SignalingHeader), needEarlyMediaSupport As Boolean, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

responseCode
Int32

The provisonal response code in the range 101-199.

signalingHeaders
IEnumerable<SignalingHeader>

The custom signaling headers to add the response. Can be null.

needEarlyMediaSupport
Boolean

The bool indicating whether the provisional response need to send media description.

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Exceptions

Thrown when the response code is not a provisional response code.

Thrown if the session is not in incoming state.

Applies to