LongSynchronizedOperationIsBackground Property

Gets or sets whether the thread executing the action is a background thread.

Definition

Namespace: Gemstone.Threading.SynchronizedOperations
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.171 -- Release Build+4f4d518944b843c059d40b523747cd410a7c216d
public bool IsBackground { get; init; }

Property Value

Boolean

Remarks

This defaults to false, be aware that foreground thread will prevent shutdown while task is running. If a task keeps getting marked as pending, application will not shut down; consider a cancellable action for LongSynchronizedOperation instances that use a foreground thread.

See Also