다음을 통해 공유


RoomsClient.AddOrUpdateParticipantsAsync Method

Definition

Add or update participants in a room asynchronously.

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)

Parameters

roomId
String
cancellationToken
CancellationToken

Returns

A Task<TResult> representing the result of the asynchronous operation.

Applies to