C# Class Tup.Utilities.ThreadHelper

Thread(WPF) Helper
Afficher le fichier Open project: tupunco/Tup.Utilities

Méthodes publiques

Méthode 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 méthode

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

ThreadPool_QueueUserWorkItem() public static méthode

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
Résultat void