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.250-beta+e1aac152bf9c38c67035c6d283461f222e39e02a
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