Читати англійською Редагувати

Поділитися через


Call.Forward Method

Definition

Overloads

Forward(String, CallForwardOptions)

Forwards the call to a different target URI with given options.

Forward(String)

Forwards the call to the specified target URI with a response code of 303.

Forward(String, CallForwardOptions)

Forwards the call to a different target URI with given options.

C#
protected void Forward (string targetUri, Microsoft.Rtc.Collaboration.CallForwardOptions forwardOptions);

Parameters

targetUri
String

The forward target URI.

forwardOptions
CallForwardOptions

Optional parameters used to forward the call. This includes using a specific response code for forwarding the call.

Exceptions

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

Thrown when the forwardOptions parameter contains restricted signaling headers.

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

Thrown when the forward operation failed to complete successfully.

Remarks

When the forwardOptions parameter is null, the call will be forwarded with a 303 response code.

Applies to

Lync UCMA latest та інші версії
Продукт Версії
Lync UCMA 4.0, 5.0, latest

Forward(String)

Forwards the call to the specified target URI with a response code of 303.

C#
protected void Forward (string targetUri);

Parameters

targetUri
String

The forward target URI.

Exceptions

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

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

Thrown when the forward operation failed to complete successfully.

Remarks

Redirects the call to a different target. Forwarding is carried out by a proxy when supported.

Applies to

Lync UCMA latest та інші версії
Продукт Версії
Lync UCMA 4.0, 5.0, latest