public Task Delay(TimeSpan timeSpan, CancellationToken cancellationToken)
Returns a task which will complete after the given delay. Whether the returned
awaitable is configured to capture the current context or not is implementation-specific.
(A test implementation may capture the current context to enable reliable testing.)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSystemScheduler\u003c/code\u003e class is a singleton implementation of the \u003ccode\u003eIScheduler\u003c/code\u003e interface, utilizing \u003ccode\u003eTask.Delay\u003c/code\u003e for scheduling delays.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstance\u003c/code\u003e property provides access to the single instance of \u003ccode\u003eSystemScheduler\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDelay\u003c/code\u003e method enables the creation of a task that completes after a specified delay, and it accepts a \u003ccode\u003eTimeSpan\u003c/code\u003e and a \u003ccode\u003eCancellationToken\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from the base \u003ccode\u003eObject\u003c/code\u003e class, implementing the \u003ccode\u003eIScheduler\u003c/code\u003e interface and offering methods for time-delayed task execution.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple previous versions of this class accessible including the latest version, 4.10.0.\u003c/p\u003e\n"]]],[],null,[]]