C# Class Amazon.S3.Transfer.Internal.DownloadCommand

Inheritance: BaseCommand
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Private Properties

Свойство Type Description
ByteRangeRemainingForDownload Amazon.S3.Model.ByteRange
ByteRangeRemainingForDownloadAsync Task
DownloadCommand System
HandleException bool
HandleExceptionForHttpClient bool
OnWriteObjectProgressEvent void
ValidateRequest void
WaitBeforeRetry void

Méthodes publiques

Méthode Description
ExecuteAsync ( CancellationToken cancellationToken ) : Task

Private Methods

Méthode Description
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

Method Details

ExecuteAsync() public méthode

public ExecuteAsync ( CancellationToken cancellationToken ) : Task
cancellationToken CancellationToken
Résultat Task