Compartir a través de


ServerCall.AddParticipantAsync Método

Definición

Agregue un participante a la llamada.

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

Parámetros

participant
CommunicationIdentifier

Identidad del participante que se va a agregar a la llamada.

callbackUri
Uri
alternateCallerId
String

Número de teléfono que se va a usar al agregar un participante rtc.

operationContext
String

El contexto de la operación.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a