Share via


CallingServerClient.CreateCallConnection Method

Definition

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