你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RoomsClient.AddOrUpdateParticipants 方法

定义

在聊天室中添加或更新参与者。

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

参数

roomId
String
cancellationToken
CancellationToken

返回

适用于