Share via


TerminateWithRedirection Method (RealTimeAddress)

Terminates an incoming session by redirecting the inviter with an address.

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

Syntax

'Declaration
Public Sub TerminateWithRedirection ( _
    redirectAddress As RealTimeAddress _
)
'Usage
Dim instance As SignalingSession
Dim redirectAddress As RealTimeAddress

instance.TerminateWithRedirection(redirectAddress)
public void TerminateWithRedirection(
    RealTimeAddress redirectAddress
)

Parameters

Exceptions

Exception Condition
RealTimeException

Thrown when a transport error occurs.

ArgumentException

Thrown when the redirect address is the local address or the inviter's address specified with an endpoint ID.

-or-

Thrown when the address indicates redirection to the local endpoint, to the inviter, or it is not formed correctly.

-or-

Thrown when the argument is not valid.

InvalidOperationException

Thrown when the session is in an invalid state.

See Also

Reference

SignalingSession Class

SignalingSession Members

TerminateWithRedirection Overload

Microsoft.Rtc.Signaling Namespace