LongSynchronizedOperationIsBackground Property
Gets or sets whether the thread executing the action is a background thread.
Namespace: Gemstone.Threading.SynchronizedOperationsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.167 -- Release Build+1e132a4d484f1823d39b71639f55ad9da4974e99
public bool IsBackground { get; init; }
Public Property IsBackground As Boolean
Get
Set
public:
property bool IsBackground {
bool get ();
void set (bool value);
}
function get_IsBackground();
function set_IsBackground(value);
Property Value
Boolean
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.