C# Class Tup.Utilities.ThreadHelper

Thread(WPF) Helper
Mostrar archivo Open project: tupunco/Tup.Utilities

Public Methods

Method Description
ThreadPool_QueueUserWorkItem ( WaitCallback callBack ) : void

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

ThreadPool_QueueUserWorkItem ( WaitCallback callBack, object state, Action failedAction = null ) : void

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.

Method Details

ThreadPool_QueueUserWorkItem() public static method

Queues a method for execution. The method executes when a thread pool thread becomes available.
public static ThreadPool_QueueUserWorkItem ( WaitCallback callBack ) : void
callBack WaitCallback
return void

ThreadPool_QueueUserWorkItem() public static method

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.
public static ThreadPool_QueueUserWorkItem ( WaitCallback callBack, object state, Action failedAction = null ) : void
callBack WaitCallback
state object
failedAction Action
return void