Share via


CallRecording.Start(StartRecordingOptions, CancellationToken) Method

Definition

Start recording of the call.

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

Parameters

options
StartRecordingOptions

Options for start recording

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to