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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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