net6.0
namespace System.Threading.Tasks
{
public static class TimeProviderTaskExtensions
{
[AsyncStateMachine(typeof(<WaitAsync>d__4<?>))]
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 net6.0 | |
Assemblies | Microsoft.Bcl.TimeProvider , Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 Microsoft.Bcl.TimeProvider , Version=8.0.0.1, PublicKeyToken=cc7b13ffcd2ddd51 |
Referencing | Your project needs a package reference to |
Package | Microsoft.Bcl.TimeProvider netstandard2.0 |
Platform Restrictions | This API is supported on all platforms. |