DataflowBlockOptions.CancellationToken Property

.NET Framework 4.6 and 4.5

Gets or sets the CancellationToken to monitor for cancellation requests.

Namespace:  System.Threading.Tasks.Dataflow
Assembly:  System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)

public CancellationToken CancellationToken { get; set; }

Property Value

Type: System.Threading.CancellationToken
The token.

.NET Framework

Supported in: 4.5

Portable Class Library

Supported in: Portable Class Library
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft