A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken.none below:

CancellationToken.None Property (System.Threading) | Microsoft Learn

CancellationToken.None Property Definition
public:
 static property System::Threading::CancellationToken None { System::Threading::CancellationToken get(); };
public static System.Threading.CancellationToken None { get; }
static member None : System.Threading.CancellationToken
Public Shared ReadOnly Property None As CancellationToken
Property Value

An empty cancellation token.

Remarks

The cancellation token returned by this property cannot be canceled; that is, its CanBeCanceled property is false.

You can also use the C# default(CancellationToken) statement to create an empty cancellation token.

Two empty cancellation tokens are always equal.

See also

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4