Terminates an incoming session by redirecting (with response code 302) the inviter with a list of addresses.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
TerminateWithRedirection ( _
	
redirectAddresses 
As 
IEnumerable(
Of 

RealTimeAddress) _
)
C#
public 
void 
TerminateWithRedirection(
	
IEnumerable<

RealTimeAddress> 
redirectAddresses
)
Visual C++
public:
void 
TerminateWithRedirection(
	
IEnumerable<

RealTimeAddress^>^ 
redirectAddresses
)
JavaScript
function 
terminateWithRedirection(
redirectAddresses);

Parameters

redirectAddresses
Type: IEnumerable < (Of < ( RealTimeAddress > ) > )
The collection of redirect addresses to use.

Exceptions

Exception Condition
ArgumentException Thrown when the address is not formed correctly.
InvalidOperationException Thrown when the session is in an invalid state.
Microsoft.Rtc.Signaling . . :: . RealTimeException Thrown when the operation fails.

See Also