CancellationToken.None Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns an empty CancellationToken value.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

Syntax

Public Shared ReadOnly Property None As CancellationToken
public static CancellationToken None { get; }

Property Value

Type: System.Threading..::.CancellationToken
Returns an empty CancellationToken value.

Remarks

The CancellationToken value returned by this property will be non-cancelable by default.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

CancellationToken Structure

System.Threading Namespace