net8.0
namespace System.Threading.Tasks
{
public static class TimeProviderTaskExtensions
{
public static Task<TResult>! WaitAsync<TResult>(this Task<TResult>! task, TimeSpan timeout, TimeProvider! timeProvider, CancellationToken cancellationToken = default);
}
}
Design Reviews |
|
---|---|
.NET | 5.06.07.08.09.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net8.0 | |
Assemblies | Microsoft.Bcl.TimeProvider , Version=8.0.0.1, PublicKeyToken=cc7b13ffcd2ddd51 Microsoft.Bcl.TimeProvider , Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
Referencing | Your project needs a package reference to |
Package | Microsoft.Bcl.TimeProvider (8.0.1) net8.0 |
Platform Restrictions | This API is supported on all platforms. |