Skip to content

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

Open
@mqudsi

Description

@mqudsi

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions