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.138 -- Release Build+45b5271a2dafa59bb75ccbb6019faabf2c5f392a
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