CancelResumableUploadAsync(string fileName, byte[] state, System.Threading.CancellationToken cancellationToken) Method

Cancels a resumable upload and deletes any partially uploaded data associated with it.

Syntax

public virtual System.Threading.Tasks.Task CancelResumableUploadAsync(string fileName, byte[] state, System.Threading.CancellationToken cancellationToken)

Parameters

fileName
Type: string

Name of the partially uploaded file.

state
Type: byte[]

Optional data that is associated with the upload.

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.