Partilhar via


SignalingSession.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
ArgumentException

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

ArgumentException

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

ArgumentException

Thrown when the address given represents the local or remote endpoint.

InvalidOperationException

Thrown when the session is in an invalid state.

RealTimeException

Thrown when the operation fails.

See Also

Reference

SignalingSession Class

SignalingSession Members

TerminateWithRedirection Overload

Microsoft.Rtc.Signaling Namespace