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.170 -- Release Build+d52ae7197b8b2924ea9e1e530d25301718816611
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.