ScheduledTask Constructor

Creates a ScheduledTask.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.128 -- Release Build+d4a9a653be1def5888b9be91bb1825c8655f3529
public ScheduledTask(
	ThreadingMode threadMode = ThreadingMode.ThreadPool,
	ThreadPriority priority = ThreadPriority.Normal,
	bool disposeOnShutdown = false
)

Parameters

threadMode  ThreadingMode  (Optional)
The manner in which the scheduled task executes.
priority  ThreadPriority  (Optional)
The thread priority to assign if a dedicated thread is used. This is ignored if using the thread-pool.
disposeOnShutdown  Boolean  (Optional)
Adds a handler to ShutdownHandler that requires this class to be disposed when the application is shutdown. Note: If this object has been garbage collected, this will have no effect.

See Also