C# Класс Amazon.S3.Transfer.Internal.DownloadCommand

Наследование: BaseCommand
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ByteRangeRemainingForDownload Amazon.S3.Model.ByteRange
ByteRangeRemainingForDownloadAsync Task
DownloadCommand System
HandleException bool
HandleExceptionForHttpClient bool
OnWriteObjectProgressEvent void
ValidateRequest void
WaitBeforeRetry void

Открытые методы

Метод Описание
ExecuteAsync ( CancellationToken cancellationToken ) : Task

Приватные методы

Метод Описание
ByteRangeRemainingForDownload ( string filepath ) : Amazon.S3.Model.ByteRange

Returns the amount of bytes remaining that need to be pulled down from S3.

ByteRangeRemainingForDownloadAsync ( string filepath ) : Task

Returns the amount of bytes remaining that need to be pulled down from S3.

DownloadCommand ( IAmazonS3 s3Client, TransferUtilityDownloadRequest request ) : System
HandleException ( Exception exception, int retries, int maxRetries ) : bool
HandleExceptionForHttpClient ( Exception exception, int retries, int maxRetries ) : bool
OnWriteObjectProgressEvent ( object sender, WriteObjectProgressArgs e ) : void
ValidateRequest ( ) : void
WaitBeforeRetry ( int retries ) : void

Описание методов

ExecuteAsync() публичный метод

public ExecuteAsync ( CancellationToken cancellationToken ) : Task
cancellationToken CancellationToken
Результат Task