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

ServerCall.GetRecordingStateAsync(String, CancellationToken) 方法

定义

通过录制 ID 获取当前录制状态。

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.CallRecordingProperties>> GetRecordingStateAsync (string recordingId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRecordingStateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.CallRecordingProperties>>
override this.GetRecordingStateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.CallRecordingProperties>>
Public Overridable Function GetRecordingStateAsync (recordingId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CallRecordingProperties))

参数

recordingId
String

要获取其状态的录制 ID。

cancellationToken
CancellationToken

取消标记。

返回

适用于