Condividi tramite


CancellationToken.None Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns an empty CancellationToken value.

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

Syntax

'Declaration
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

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.