CallingServerClient.CreateCallConnection(CommunicationIdentifier, IEnumerable<CommunicationIdentifier>, CreateCallOptions, CancellationToken) 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
System.Collections.Generic.IEnumerable<CommunicationIdentifier>

The target identities.

options
CreateCallOptions

The call options.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

Response<CallConnection>

Exceptions

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

System.ArgumentNullException

options is null.

Applies to