Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- redirectAddress
Type: Microsoft.Rtc.Signaling.RealTimeAddress
The redirect address to use.
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. |