Amazon.S3.Util.AmazonS3Util.InvokeDeleteS3BucketWithObjects C# (CSharp) Method

InvokeDeleteS3BucketWithObjects() private static method

Invokes the DeleteS3BucketWithObjectsInternal method.
private static InvokeDeleteS3BucketWithObjects ( object state, CancellationToken token ) : Task
state object The Request object that has all the data to complete the operation.
token CancellationToken token to request the operation to be cancelled.
return Task
        private static  Task InvokeDeleteS3BucketWithObjects(object state,CancellationToken token)
        {
            var request = (S3DeleteBucketWithObjectsRequest)state;
                return DeleteS3BucketWithObjectsInternalAsync(
                    request.S3Client,
                    request.BucketName,
                    request.DeleteOptions,
                    request.UpdateCallback,
                    token
                    );
        }

Same methods

AmazonS3Util::InvokeDeleteS3BucketWithObjects ( object state ) : void