Compartilhar via


CallRecording.StartAsync(StartRecordingOptions, CancellationToken) Método

Definição

Inicie a gravação da chamada.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.RecordingStateResult>> StartAsync (Azure.Communication.CallAutomation.StartRecordingOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member StartAsync : Azure.Communication.CallAutomation.StartRecordingOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.RecordingStateResult>>
override this.StartAsync : Azure.Communication.CallAutomation.StartRecordingOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.RecordingStateResult>>
Public Overridable Function StartAsync (options As StartRecordingOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RecordingStateResult))

Parâmetros

options
StartRecordingOptions

Opções para iniciar a gravação

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a