Share via


CallRecording.DeleteAsync(Uri, CancellationToken) Method

Definition

The DeleteAsync(Uri, CancellationToken) operation deletes the specified content from storage using parallel requests.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteAsync (Uri recordingLocation, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAsync : Uri * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteAsync : Uri * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteAsync (recordingLocation As Uri, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

recordingLocation
Uri

A Uri with the Recording's content's url location.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be canceled.

Returns

A Response describing the operation.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to