OperationCanceledException.CancellationToken Property

Gets a token associated with the operation that was canceled.

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

public CancellationToken CancellationToken { get; private set; }

Property Value

Type: System.Threading.CancellationToken
A token associated with the operation that was canceled, or a default token.

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

Silverlight

Supported in: 5

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

Community Additions

ADD
Show: