ProcessQueueTCancellationToken Property

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

Definition

Namespace: Gemstone.Threading.Collections
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.160 -- Release Build+5c02decbb6aa321138caaadf548ee87ad464d811
public ICancellationToken CancellationToken { get; }

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