System.OperationCanceledException.CancellationToken Property

Gets a token associated with the operation that was canceled.

Syntax

public System.Threading.CancellationToken CancellationToken { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the token is associated with a canceled operation, the System.Threading.CancellationToken.IsCancellationRequested property of the token returns true.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0
Since: .NET 2.0