Click or drag to resize

ProcessQueueTCancellationToken Property

Gets the per processing thread cancellation token to check when a ProcessTimeout is specified.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public ICancellationToken CancellationToken { get; }
View Source

Property Value

ICancellationToken
Remarks
This token should be checked in the user implemented ProcessItemFunction or ProcessItemsFunction to determine if a timeout has occurred so that the code can cleanly exit.
See Also