CancellationTokenSource
CancellationTokenSource()
CancellationTokenSource(Int32)
CancellationTokenSource(TimeSpan)
CancellationTokenSource(TimeSpan, TimeProvider)
IsCancellationRequested
Token
Cancel()
Cancel(Boolean)
CancelAfter(Int32)
CancelAfter(TimeSpan)
CancelAsync()
CreateLinkedTokenSource(CancellationToken)
CreateLinkedTokenSource(CancellationToken[])
CreateLinkedTokenSource(CancellationToken, CancellationToken)
CreateLinkedTokenSource(ReadOnlySpan<CancellationToken>)
Dispose()
Dispose(Boolean)
TryReset()
net10.0-windows7.0
namespace System.Threading
{
public class CancellationTokenSource : IDisposable
{
public static CancellationTokenSource! CreateLinkedTokenSource(CancellationToken token);
}
}
nuget.org | 0.7 % Reference this API |
---|---|
Upgrade Planner | 0.0 % Reference this API |
.NET | 5.06.07.08.09.010.0 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assemblies | System.Runtime , Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Runtime , Version=6.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | Your project needs a package reference to |
Package | System.Runtime.Experimental (7.0.0-preview.2.22152.2) net7.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API