SignalingSession.TerminateWithRedirection 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
TerminateWithRedirection(RealTimeAddress) |
Terminates an incoming session by redirecting the inviter with an address. |
TerminateWithRedirection(IEnumerable<RealTimeAddress>) |
Terminates an incoming session by redirecting (with response code 302) the inviter with a list of addresses. |
TerminateWithRedirection(Int32, IEnumerable<RealTimeAddress>) |
Terminates an incoming session by redirecting the inviter (with specific redirect response code given) with a list of addresses. |
TerminateWithRedirection(RealTimeAddress)
Terminates an incoming session by redirecting the inviter with an address.
public:
void TerminateWithRedirection(Microsoft::Rtc::Signaling::RealTimeAddress ^ redirectAddress);
public void TerminateWithRedirection (Microsoft.Rtc.Signaling.RealTimeAddress redirectAddress);
member this.TerminateWithRedirection : Microsoft.Rtc.Signaling.RealTimeAddress -> unit
Public Sub TerminateWithRedirection (redirectAddress As RealTimeAddress)
Parameters
- redirectAddress
- RealTimeAddress
The redirect address to use.
Exceptions
Thrown when the address given represents the local or remote endpoint.
Thrown when the session is in an invalid state.
Thrown when the operation fails.
Applies to
TerminateWithRedirection(IEnumerable<RealTimeAddress>)
Terminates an incoming session by redirecting (with response code 302) the inviter with a list of addresses.
public:
void TerminateWithRedirection(System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::RealTimeAddress ^> ^ redirectAddresses);
public void TerminateWithRedirection (System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.RealTimeAddress> redirectAddresses);
member this.TerminateWithRedirection : seq<Microsoft.Rtc.Signaling.RealTimeAddress> -> unit
Public Sub TerminateWithRedirection (redirectAddresses As IEnumerable(Of RealTimeAddress))
Parameters
- redirectAddresses
- IEnumerable<RealTimeAddress>
The collection of redirect addresses to use.
Exceptions
Thrown when the address is not formed correctly.
Thrown when the session is in an invalid state.
Thrown when the operation fails.
Applies to
TerminateWithRedirection(Int32, IEnumerable<RealTimeAddress>)
Terminates an incoming session by redirecting the inviter (with specific redirect response code given) with a list of addresses.
public:
void TerminateWithRedirection(int responseCode, System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::RealTimeAddress ^> ^ redirectAddresses);
public void TerminateWithRedirection (int responseCode, System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.RealTimeAddress> redirectAddresses);
member this.TerminateWithRedirection : int * seq<Microsoft.Rtc.Signaling.RealTimeAddress> -> unit
Public Sub TerminateWithRedirection (responseCode As Integer, redirectAddresses As IEnumerable(Of RealTimeAddress))
Parameters
- responseCode
- Int32
The redirection response code to use.
- redirectAddresses
- IEnumerable<RealTimeAddress>
The collection of redirect addresses to use.
Exceptions
Thrown when the address is not formed correctly.
Thrown when the response code is not a redirection code.
Thrown when the session is in an invalid state.
Thrown when the operation fails.