CallAutomationClient.RedirectCall Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RedirectCall(RedirectCallOptions, CancellationToken) | |
RedirectCall(String, CallInvite, CancellationToken) |
RedirectCall(RedirectCallOptions, CancellationToken)
- Source:
- CallAutomationClient.cs
- Source:
- CallAutomationClient.cs
public virtual Azure.Response RedirectCall (Azure.Communication.CallAutomation.RedirectCallOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member RedirectCall : Azure.Communication.CallAutomation.RedirectCallOptions * System.Threading.CancellationToken -> Azure.Response
override this.RedirectCall : Azure.Communication.CallAutomation.RedirectCallOptions * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function RedirectCall (options As RedirectCallOptions, Optional cancellationToken As CancellationToken = Nothing) As 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
RedirectCall(String, CallInvite, CancellationToken)
- Source:
- CallAutomationClient.cs
- Source:
- CallAutomationClient.cs
public virtual Azure.Response RedirectCall (string incomingCallContext, Azure.Communication.CallAutomation.CallInvite callInvite, System.Threading.CancellationToken cancellationToken = default);
abstract member RedirectCall : string * Azure.Communication.CallAutomation.CallInvite * System.Threading.CancellationToken -> Azure.Response
override this.RedirectCall : string * Azure.Communication.CallAutomation.CallInvite * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function RedirectCall (incomingCallContext As String, callInvite As CallInvite, Optional cancellationToken As CancellationToken = Nothing) As 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
Azure SDK for .NET