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
- redirectAddresses
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'RealTimeAddress>)>)>
The collection of redirect addresses to use.
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. |