BeginResumableUploadAsync(string fileName, System.Threading.CancellationToken cancellationToken) Method

Starts a new resumable upload to the specified file name.

Syntax

public virtual Task<UploadStream> BeginResumableUploadAsync(string fileName, System.Threading.CancellationToken cancellationToken)

Parameters

fileName
Type: string

Name of the file to upload to.

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.

Returns

Instance of UploadStream that can be used to write a chunk of data to the file.