Edit

Share via


ReferNotifier.SetState Method

Definition

Overloads

SetState(ReferState)

Synchronously sets the refer state. This will result in sending Notification to the referrer.

SetState(Int32, String, String)

Synchronously sets the Refer state. This will result in sending Notification to the referrer.

SetState(ReferState)

Synchronously sets the refer state. This will result in sending Notification to the referrer.

public:
 void SetState(Microsoft::Rtc::Signaling::ReferState referState);
public void SetState (Microsoft.Rtc.Signaling.ReferState referState);
member this.SetState : Microsoft.Rtc.Signaling.ReferState -> unit

Parameters

referState
ReferState

The refer State value to set

Remarks

This method is not recommended for UI threads or scalable server applications.

Applies to

SetState(Int32, String, String)

Synchronously sets the Refer state. This will result in sending Notification to the referrer.

public:
 void SetState(int responseCode, System::String ^ responseText, System::String ^ remainingSipFragment);
public void SetState (int responseCode, string responseText, string remainingSipFragment);
member this.SetState : int * string * string -> unit
Public Sub SetState (responseCode As Integer, responseText As String, remainingSipFragment As String)

Parameters

responseCode
Int32

The specific response code

responseText
String

The response text. Can be null.

remainingSipFragment
String

The remaining SIP fragment

Exceptions

Thrown when the endpoint is already terminated or when the refer state transition is not allowed

Thrown when the response code is out of range.

Remarks

This method is not recommended for UI threads or scalable server applications.

Applies to