Skip to content

Task.WaitAsync(TimeSpan, TimeProvider, CancellationToken) does not list TimeoutException as a possible exception #11190

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

Open
mqudsi opened this issue Apr 13, 2025 · 1 comment
Labels
area-System.Threading.Tasks untriaged New issue has not been triaged by the area owner

Comments

@mqudsi
Copy link

mqudsi commented Apr 13, 2025

Type of issue

Missing information

Description

The list of exceptions for the WaitAsync(TimeSpan, TimeProvider, CancellationToken) does not include TimeoutException which the body of the description for the TimeSpan parameter indicates will be thrown when the TimeSpan timeout expires.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.waitasync?view=net-9.0#system-threading-tasks-task-waitasync(system-timespan-system-timeprovider-system-threading-cancellationtoken)

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Threading.Tasks/Task.xml

Document Version Independent Id

4975978e-14a9-88e1-bec2-ea632d3c08d7

Platform Id

4fa165a2-05cd-c7d8-44d5-b6b3d0d66862

Article author

@dotnet-bot

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Apr 13, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-threading-tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Threading.Tasks untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

1 participant