System.Threading.ThreadPool: Method Members

The methods of System.Threading.ThreadPool are listed below. For a list of all members, see the ThreadPool Members list.

See Also: Inherited members from System.Object

Public Methods

static
BindHandle(IntPtr) : bool

Binds an operating system handle to the System.Threading.ThreadPool.

static
BindHandle(System.Runtime.InteropServices.SafeHandle) : bool

Binds an operating system handle to the System.Threading.ThreadPool.

static
GetAvailableThreads(out int, out int)
Documentation for this section has not yet been entered.
static
GetMaxThreads(out int, out int)
Documentation for this section has not yet been entered.
static
GetMinThreads(out int, out int)
Documentation for this section has not yet been entered.
static
QueueUserWorkItem(WaitCallback) : bool

Queues a method for execution. The method executes when a thread pool thread becomes available.

static
QueueUserWorkItem(WaitCallback, object) : bool

Queues a method for execution, and specifies an object containing data to be used by the method. The method executes when a thread pool thread becomes available.

static
RegisterWaitForSingleObject(WaitHandle, WaitOrTimerCallback, object, int, bool) : RegisteredWaitHandle

Registers a delegate to wait for a System.Threading.WaitHandle, specifying a 32-bit signed integer for the time-out in milliseconds.

static
RegisterWaitForSingleObject(WaitHandle, WaitOrTimerCallback, object, long, bool) : RegisteredWaitHandle

Registers a delegate to wait for a System.Threading.WaitHandle, specifying a 64-bit signed integer for the time-out in milliseconds.

static
RegisterWaitForSingleObject(WaitHandle, WaitOrTimerCallback, object, TimeSpan, bool) : RegisteredWaitHandle

Registers a delegate to wait for a System.Threading.WaitHandle, specifying a TimeSpan value for the time-out.

static
RegisterWaitForSingleObject(WaitHandle, WaitOrTimerCallback, object, uint, bool) : RegisteredWaitHandle

Registers a delegate to wait for a System.Threading.WaitHandle, specifying a 32-bit unsigned integer for the time-out in milliseconds.

static
SetMaxThreads(int, int) : bool

Sets the number of requests to the thread pool that can be active concurrently. All requests above that number remain queued until thread pool threads become available.

static
SetMinThreads(int, int) : bool

Sets the minimum number of threads the thread pool creates on demand, as new requests are made, before switching to an algorithm for managing thread creation and destruction.

static
UnsafeQueueNativeOverlapped(NativeOverlapped*) : bool

Queues an overlapped I/O operation for execution.

static
UnsafeQueueUserWorkItem(WaitCallback, object) : bool

Queues the specified delegate to the thread pool, but does not propagate the calling stack to the worker thread.

static
UnsafeRegisterWaitForSingleObject(WaitHandle, WaitOrTimerCallback, object, int, bool) : RegisteredWaitHandle

Registers a delegate to wait for a System.Threading.WaitHandle, using a 32-bit signed integer for the time-out in milliseconds. This method does not propagate the calling stack to the worker thread.

static
UnsafeRegisterWaitForSingleObject(WaitHandle, WaitOrTimerCallback, object, long, bool) : RegisteredWaitHandle

Registers a delegate to wait for a System.Threading.WaitHandle, specifying a 64-bit signed integer for the time-out in milliseconds. This method does not propagate the calling stack to the worker thread.

static
UnsafeRegisterWaitForSingleObject(WaitHandle, WaitOrTimerCallback, object, TimeSpan, bool) : RegisteredWaitHandle

Registers a delegate to wait for a System.Threading.WaitHandle, specifying a TimeSpan value for the time-out. This method does not propagate the calling stack to the worker thread.

static
UnsafeRegisterWaitForSingleObject(WaitHandle, WaitOrTimerCallback, object, uint, bool) : RegisteredWaitHandle

Registers a delegate to wait for a System.Threading.WaitHandle, specifying a 32-bit unsigned integer for the time-out in milliseconds. This method does not propagate the calling stack to the worker thread.