AudioVideoCall.Forward Method (String, CallForwardOptions)

Redirect the audiovideo call to a different target URI.

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

Syntax

'Declaration
Public Sub Forward ( _
    targetUri As String, _
    forwardOptions As CallForwardOptions _
)
'Usage
Dim instance As AudioVideoCall
Dim targetUri As String
Dim forwardOptions As CallForwardOptions

instance.Forward(targetUri, forwardOptions)
public void Forward(
    string targetUri,
    CallForwardOptions forwardOptions
)

Parameters

Exceptions

Exception Condition
ArgumentException

Thrown when the targetUri parameter is null, empty or invalid.

InvalidOperationException

Thrown when the call is not in valid state to perform this operation.

RealTimeException

Thrown when the forward operation failed to complete successfully.

Remarks

When the forwardOptions parameter is null, this call will be forwarded with a response code of 303. Redirects the audiovideo call to a different target. Depending on the response code, the forward is either carried out by the proxy when supported or by the user agent client that sent the invite request.

See Also

Reference

AudioVideoCall Class

AudioVideoCall Members

Forward Overload

Microsoft.Rtc.Collaboration.AudioVideo Namespace