CallAutomationClient.RedirectCallAsync 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
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET