Share via


CallingServerClient.JoinCallAsync Method

Definition

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.CallConnection>> JoinCallAsync (string serverCallId, Azure.Communication.CommunicationIdentifier source, Azure.Communication.CallingServer.JoinCallOptions callOptions, System.Threading.CancellationToken cancellationToken = default);
abstract member JoinCallAsync : string * Azure.Communication.CommunicationIdentifier * Azure.Communication.CallingServer.JoinCallOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.CallConnection>>
override this.JoinCallAsync : string * Azure.Communication.CommunicationIdentifier * Azure.Communication.CallingServer.JoinCallOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.CallConnection>>
Public Overridable Function JoinCallAsync (serverCallId As String, source As CommunicationIdentifier, callOptions As JoinCallOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CallConnection))

Parameters

serverCallId
String

The server call id.

source
CommunicationIdentifier

The source identity.

callOptions
JoinCallOptions

The call Options.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

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

callOptions is null.

Applies to