Share via


CallAutomationClient.CreateCallAsync Method

Definition

Overloads

CreateCallAsync(CallInvite, Uri, CancellationToken)

Create an outgoing call to target invitee.

CreateCallAsync(CreateCallOptions, CancellationToken)

Create an outgoing call to target invitee.

CreateCallAsync(CallInvite, Uri, CancellationToken)

Source:
CallAutomationClient.cs
Source:
CallAutomationClient.cs

Create an outgoing call to target invitee.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.CreateCallResult>> CreateCallAsync (Azure.Communication.CallAutomation.CallInvite callInvite, Uri callbackUri, System.Threading.CancellationToken cancellationToken = default);

Parameters

callInvite
CallInvite
callbackUri
Uri
cancellationToken
CancellationToken

Returns

Exceptions

callInvite is null.

callbackUri CallbackUri is not formatted correctly or empty.

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

Applies to

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview

CreateCallAsync(CreateCallOptions, CancellationToken)

Source:
CallAutomationClient.cs
Source:
CallAutomationClient.cs

Create an outgoing call to target invitee.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.CreateCallResult>> CreateCallAsync (Azure.Communication.CallAutomation.CreateCallOptions options, System.Threading.CancellationToken cancellationToken = default);

Parameters

options
CreateCallOptions

Options for the CreateCall request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

options is null.

options CallbackUri is not formatted correctly.

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

Applies to

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview