LongSynchronizedOperationIsBackground Property
Gets or sets whether or not the thread executing the action is a background thread.
Namespace: Gemstone.Threading.SynchronizedOperationsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.110 -- Release Build+13c244059615c58a533059438f38d7e59ef0c2ea
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
shutdown; consider a cancellable action for
LongSynchronizedOperation
instances that use a foreground thread.