CallingServerClient.JoinCallAsync(String, CommunicationIdentifier, JoinCallOptions, CancellationToken) 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
System.String

The server call id.

source
CommunicationIdentifier

The source identity.

callOptions
JoinCallOptions

The call Options.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Response<CallConnection>>

Exceptions

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

System.ArgumentNullException

callOptions is null.

Applies to