Skip to content

Incomplete description for Task.Wait(TimeSpan, CancellationToken) #12759

@RichardD2

Description

@RichardD2

Type of issue

Typo

Description

The description for Task.Wait(TimeSpan, CancellationToken) is identical to the description of Task.Wait():

Waits for the to complete execution.

For consistency with the other overloads, it should probably be closer to the description of Task.Wait(int, CancellationToken):

Waits for the to complete execution.
The wait terminates if a timeout interval elapses or a cancellation token is canceled before the task completes.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.wait?view=net-10.0

Content source URL

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

Document Version Independent Id

4a689a76-7ebb-8638-1f0a-098a3adb6eea

Platform Id

f467a857-a9ec-5f14-f4f9-9db1ecb57ead

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions