LargeFileUploadTask<T> Class

Definition

Task to help with resume able large file uploads.

public class LargeFileUploadTask<T>
type LargeFileUploadTask<'T> = class
Public Class LargeFileUploadTask(Of T)

Type Parameters

T
Inheritance
LargeFileUploadTask<T>

Constructors

LargeFileUploadTask<T>(IUploadSession, Stream, Int32, IBaseClient)

Task to help with resume able large file uploads. Generates slices based on uploadSession information, and can control uploading of requests/>

Methods

DeleteSessionAsync()

Delete the session.

ResumeAsync(IProgress<Int64>, Int32)

Get info about the upload session and resume from where it left off.

UpdateSessionStatusAsync()

Get the status of the session. Stores returned session internally. Updates internal list of ranges remaining to be uploaded (according to the server).

UploadAsync(IProgress<Int64>, Int32)

Upload the whole session.

Applies to