你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServerCall.StartRecordingAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
开始录制通话。
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.StartRecordingResult>> StartRecordingAsync (Uri recordingStateCallbackUri, Azure.Communication.CallingServer.RecordingContent? content = default, Azure.Communication.CallingServer.RecordingChannel? channel = default, Azure.Communication.CallingServer.RecordingFormat? format = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecordingAsync : Uri * Nullable<Azure.Communication.CallingServer.RecordingContent> * Nullable<Azure.Communication.CallingServer.RecordingChannel> * Nullable<Azure.Communication.CallingServer.RecordingFormat> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.StartRecordingResult>>
override this.StartRecordingAsync : Uri * Nullable<Azure.Communication.CallingServer.RecordingContent> * Nullable<Azure.Communication.CallingServer.RecordingChannel> * Nullable<Azure.Communication.CallingServer.RecordingFormat> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.StartRecordingResult>>
Public Overridable Function StartRecordingAsync (recordingStateCallbackUri As Uri, Optional content As Nullable(Of RecordingContent) = Nothing, Optional channel As Nullable(Of RecordingChannel) = Nothing, Optional format As Nullable(Of RecordingFormat) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StartRecordingResult))
参数
- recordingStateCallbackUri
- Uri
用于发送状态更改回调的 URI。
- content
- Nullable<RecordingContent>
用于录制的内容。
- channel
- Nullable<RecordingChannel>
用于录制的通道。
- format
- Nullable<RecordingFormat>
录制格式。
- cancellationToken
- CancellationToken
取消标记。