Compartilhar via


RoomsClient.AddOrUpdateParticipantsAsync Método

Definição

Adicione ou atualize os participantes em uma sala de forma assíncrona.

public virtual System.Threading.Tasks.Task<Azure.Response> AddOrUpdateParticipantsAsync (string roomId, System.Collections.Generic.IEnumerable<Azure.Communication.Rooms.RoomParticipant> participants, System.Threading.CancellationToken cancellationToken = default);
abstract member AddOrUpdateParticipantsAsync : string * seq<Azure.Communication.Rooms.RoomParticipant> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.AddOrUpdateParticipantsAsync : string * seq<Azure.Communication.Rooms.RoomParticipant> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function AddOrUpdateParticipantsAsync (roomId As String, participants As IEnumerable(Of RoomParticipant), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parâmetros

roomId
String
cancellationToken
CancellationToken

Retornos

Um Task<TResult> que representa o resultado da operação assíncrona.

Aplica-se a