Share via


CallRecording.StartAsync(StartRecordingOptions, CancellationToken) Method

Definition

Start recording of the call.

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))

Parameters

options
StartRecordingOptions

Options for start recording

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to