RedirectingEventArgs Class

Definition

Exposes the redirect target URI and lets the application try the URI depending upon the State property.

public ref class RedirectingEventArgs abstract : Microsoft::Rtc::Signaling::SipResponseReceivedEventArgs
public abstract class RedirectingEventArgs : Microsoft.Rtc.Signaling.SipResponseReceivedEventArgs
type RedirectingEventArgs = class
    inherit SipResponseReceivedEventArgs
Public MustInherit Class RedirectingEventArgs
Inherits SipResponseReceivedEventArgs
Inheritance

Properties

Action

Gets or sets the Action associated with the current redirect.

CurrentTarget

Gets the address of the current redirect. Can be null if there is no current target.

DisableAutomaticRedirection

Gets or sets the value indicating whether the application wants the disable automatic redirection based on the redirect action set in this event arg after returning from the redirect callback handler of the application. If disabled, the application takes the responsibility to store this event arg, set the redirect action later, and call ResumeRedirection. Failure to do so will result in the pending Particpate method hanging.

Headers

Gets the list of headers to add to the next set of targets.

PreviousException

Gets the previous exception, if any.

ResponseData

Gets the response data for the event.

(Inherited from SipResponseReceivedEventArgs)
Targets

Gets the address of the all the redirects.

Methods

ResumeRedirection()

Resumes redirection work if it was delayed originally. This method can be called only once per redirect event raised.

Applies to