-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add remarks about stored exceptions #8751
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
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Just an idea, but could the link to the sync method point directly to the Exception sub-heading ( |
That's a good idea, except it's only effective for methods with a single overload. That's because all overloads are on a single page, and an xref link to a specific overload is accomplished using a bookmark, for example, https://learn.microsoft.com/en-us/dotnet/api/system.string.substring?view=net-7.0#system-string-substring(system-int32). By adding |
xml/Microsoft.Extensions.Caching.Distributed/DistributedCacheExtensions.xml
Outdated
Show resolved
Hide resolved
Thanks for working on this. |
@stephentoub Can you take another look? Is this good to merge? |
xml/Microsoft.Extensions.Caching.Distributed/DistributedCacheExtensions.xml
Outdated
Show resolved
Hide resolved
xml/Microsoft.Extensions.Caching.Distributed/DistributedCacheExtensions.xml
Outdated
Show resolved
Hide resolved
Learn Build status updates of commit 55e5b69: ✅ Validation status: passed
This comment lists only the first 25 files in the pull request. Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report. For any questions, please:
|
Adds boilerplate text that asynchronous methods store the same exceptions that their synchronous counterpart can throw, with a link to that counterpart.
Preview of remarks.
I used a utility to add these remarks to *Async methods that have a matching synchronous method (571 of 1136 *Async methods).
Contributes to #7840.
cc @stephentoub