Amazon.S3.Transfer.TransferUtility.AbortMultipartUploadsAsync C# (CSharp) Method

AbortMultipartUploadsAsync() public method

Aborts the multipart uploads that were initiated before the specified date.
public AbortMultipartUploadsAsync ( string bucketName, System.DateTime initiatedDate, CancellationToken cancellationToken = default(CancellationToken) ) : Task
bucketName string /// The name of the bucket containing multipart uploads. ///
initiatedDate System.DateTime /// The date before which the multipart uploads were initiated. ///
cancellationToken System.Threading.CancellationToken /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task AbortMultipartUploadsAsync(string bucketName, DateTime initiatedDate, CancellationToken cancellationToken = default(CancellationToken))
        {
            var command = new AbortMultipartUploadsCommand(this._s3Client, bucketName, initiatedDate, this._config);
            return command.ExecuteAsync(cancellationToken);
        }
        #endregion