-
Notifications
You must be signed in to change notification settings - Fork 874
Create UploadDirectoryWithResponse api + progress tracking events + update docs and sync exception handling #4187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create UploadDirectoryWithResponse api + progress tracking events + update docs and sync exception handling #4187
Conversation
| /// <returns>The task object representing the asynchronous operation.</returns> | ||
| Task UploadDirectoryAsync(TransferUtilityUploadDirectoryRequest request, CancellationToken cancellationToken = default(CancellationToken)); | ||
|
|
||
| /// <summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i updated the files that the existing uploaddirectory operations were in. i think theres also transfer utility files in the non bcl+standard folder too, but since these are partial classes, they will all be compiled together. so the main thing to update is both the sync + async
89e13c5 to
e96d4a6
Compare
d71dcf5 to
6c65537
Compare
7f7679a to
ad837fb
Compare
| ExceptionDispatchInfo.Capture(e.InnerException).Throw(); | ||
| return null; | ||
| } | ||
| return UploadWithResponseAsync(filePath, bucketName).GetAwaiter().GetResult(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updating these as per #4141 (review) since i forgot to update them before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are all unreleased methods so im updating them
| /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. | ||
| /// </param> | ||
| /// <returns>The task object representing the asynchronous operation.</returns> | ||
| /// <inheritdoc/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sneaking in doc updates here too
Description
Motivation and Context
To comply with the SEP
Testing
Types of changes
Checklist
License