CallAutomationClient.RedirectCallAsync Method

Definition

Overloads

RedirectCallAsync(RedirectCallOptions, CancellationToken)
RedirectCallAsync(String, CallInvite, CancellationToken)

RedirectCallAsync(RedirectCallOptions, CancellationToken)

Source:
CallAutomationClient.cs
Source:
CallAutomationClient.cs
public virtual System.Threading.Tasks.Task<Azure.Response> RedirectCallAsync (Azure.Communication.CallAutomation.RedirectCallOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member RedirectCallAsync : Azure.Communication.CallAutomation.RedirectCallOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RedirectCallAsync : Azure.Communication.CallAutomation.RedirectCallOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RedirectCallAsync (options As RedirectCallOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

options
RedirectCallOptions

Options for the Redirect operations.

cancellationToken
CancellationToken

The cancellation token

Returns

Exceptions

options Repeatability headers are set incorrectly.

The server returned an error. See Message for details returned from the server.

options is null.

Applies to

RedirectCallAsync(String, CallInvite, CancellationToken)

Source:
CallAutomationClient.cs
Source:
CallAutomationClient.cs
public virtual System.Threading.Tasks.Task<Azure.Response> RedirectCallAsync (string incomingCallContext, Azure.Communication.CallAutomation.CallInvite callInvite, System.Threading.CancellationToken cancellationToken = default);
abstract member RedirectCallAsync : string * Azure.Communication.CallAutomation.CallInvite * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RedirectCallAsync : string * Azure.Communication.CallAutomation.CallInvite * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RedirectCallAsync (incomingCallContext As String, callInvite As CallInvite, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

incomingCallContext
String

The incoming call context.

callInvite
CallInvite

The target where the call is redirected to.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

The server returned an error. See Message for details returned from the server.

callInvite is null.

Applies to