Share via


TerminateWithRedirection Method (IEnumerable(RealTimeAddress))

Terminates an incoming session by redirecting the inviter with a list of addresses.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub TerminateWithRedirection ( _
    redirectAddresses As IEnumerable(Of RealTimeAddress) _
)
'Usage
Dim instance As SignalingSession
Dim redirectAddresses As IEnumerable(Of RealTimeAddress)

instance.TerminateWithRedirection(redirectAddresses)
public void TerminateWithRedirection(
    IEnumerable<RealTimeAddress> redirectAddresses
)

Parameters

Exceptions

Exception Condition
RealTimeException

Thrown when a transport error occurs while sending.

ArgumentException

Thrown when the address is not formed correctly.

InvalidOperationException

Thrown when the session is in an invalid state.

See Also

Reference

SignalingSession Class

SignalingSession Members

TerminateWithRedirection Overload

Microsoft.Rtc.Signaling Namespace