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.166 -- Release Build+d3cb24a90fe44346300dfbb17444d7b350f42d79
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