Skip to content

Conversation

theodorzoulias
Copy link
Contributor

Summary

The maximum delay of the Task.Delay method is documented to be Int32.MaxValue (2147483647), but the actual maximum is 0xFFFFFFFE (4294967294).

This affects the .NET 6 and later versions. On previous .NET versions the currently documented maximum value is correct.

Fixes #68818

The maximum delay of the Task.Delay method is documented to be Int32.MaxValue, but the actual maximum is 0xFFFFFFFE (4294967294).
dotnet/runtime#68818
This affects the .NET 6 and later versions. On previous .NET versions the documented maximum value is correct.
@ghost
Copy link

ghost commented May 3, 2022

Tagging subscribers to this area: @dotnet/area-system-threading-tasks
See info in area-owners.md if you want to be subscribed.

Issue Details

Summary

The maximum delay of the Task.Delay method is documented to be Int32.MaxValue (2147483647), but the actual maximum is 0xFFFFFFFE (4294967294).

This affects the .NET 6 and later versions. On previous .NET versions the currently documented maximum value is correct.

Fixes #68818

Author: theodorzoulias
Assignees: -
Labels:

area-System.Threading.Tasks

Milestone: -

@opbld32
Copy link

opbld32 commented May 3, 2022

Docs Build status updates of commit f2d8f37:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Threading.Tasks/Task.xml ✅Succeeded View

For more details, please refer to the build report.

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:

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@opbld30

This comment was marked as outdated.

@opbld33
Copy link

opbld33 commented May 6, 2022

Docs Build status updates of commit ae149a1:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Threading.Tasks/Task.xml ✅Succeeded View

For more details, please refer to the build report.

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:

@gewarren gewarren merged commit f772c64 into dotnet:main May 6, 2022
@gewarren
Copy link
Contributor

gewarren commented May 6, 2022

Thanks @theodorzoulias

@theodorzoulias theodorzoulias deleted the patch-3 branch May 7, 2022 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Task.Delay actual accepted delay is twice the documented value
6 participants