Udostępnij za pośrednictwem


ServerCall.AddParticipant Method

Definition

Add participant to the call.

public virtual Azure.Response<Azure.Communication.CallingServer.AddParticipantResult> AddParticipant (Azure.Communication.CommunicationIdentifier participant, Uri callbackUri, string alternateCallerId = default, string operationContext = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddParticipant : Azure.Communication.CommunicationIdentifier * Uri * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallingServer.AddParticipantResult>
override this.AddParticipant : Azure.Communication.CommunicationIdentifier * Uri * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallingServer.AddParticipantResult>
Public Overridable Function AddParticipant (participant As CommunicationIdentifier, callbackUri As Uri, Optional alternateCallerId As String = Nothing, Optional operationContext As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AddParticipantResult)

Parameters

participant
CommunicationIdentifier

The identity of participant to be added to the call.

callbackUri
Uri

The callback uri to receive the notification.

alternateCallerId
String

The phone number to use when adding a pstn participant.

operationContext
String

The operation context.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to