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

ServerCall.AddParticipant 方法

定义

将参与者添加到通话。

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)

参数

participant
CommunicationIdentifier

要添加到呼叫的参与者的标识。

callbackUri
Uri

用于接收通知的回调 URI。

alternateCallerId
String

添加 pstn 参与者时使用的电话号码。

operationContext
String

操作上下文。

cancellationToken
CancellationToken

取消标记。

返回

适用于