Share via


CallingServerClient.CreateCallConnectionAsync Method

Definition

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.CallConnection>> CreateCallConnectionAsync (Azure.Communication.CommunicationIdentifier source, System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> targets, Azure.Communication.CallingServer.CreateCallOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateCallConnectionAsync : Azure.Communication.CommunicationIdentifier * seq<Azure.Communication.CommunicationIdentifier> * Azure.Communication.CallingServer.CreateCallOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.CallConnection>>
override this.CreateCallConnectionAsync : Azure.Communication.CommunicationIdentifier * seq<Azure.Communication.CommunicationIdentifier> * Azure.Communication.CallingServer.CreateCallOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.CallConnection>>
Public Overridable Function CreateCallConnectionAsync (source As CommunicationIdentifier, targets As IEnumerable(Of CommunicationIdentifier), options As CreateCallOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CallConnection))

Parameters

source
CommunicationIdentifier

The source identity

targets
IEnumerable<CommunicationIdentifier>

The target identities.

options
CreateCallOptions

The call options.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

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

options is null.

Applies to