C# Класс Nexus.Client.Util.Threading.TrackedThread

A thread that is tracked by the TrackedThreadManager.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Start ( ) : void

Starts the thread.

Start ( object p_objParam ) : void

Starts the thread.

TrackedThread ( ParameterizedThreadStart p_ptsThreadMethod ) : System.Threading

Initializes the object with the given values.

TrackedThread ( ThreadStart p_tdsThreadMethod ) : System.Threading

Initializes the object with the given values.

Приватные методы

Метод Описание
RunParameterizedThread ( object p_objParam ) : void

Executes the paramterized method from within the thread.

Once the method returns, the thread is removed from the TrackedThreadManager and exits.

RunThread ( ) : void

Executes the non-parameterized method from within the thread.

Once the method returns, the thread is removed from the TrackedThreadManager and exits.

Описание методов

Start() публичный Метод

Starts the thread.
public Start ( ) : void
Результат void

Start() публичный Метод

Starts the thread.
public Start ( object p_objParam ) : void
p_objParam object The parameter to pass to the thread.
Результат void

TrackedThread() публичный Метод

Initializes the object with the given values.
public TrackedThread ( ParameterizedThreadStart p_ptsThreadMethod ) : System.Threading
p_ptsThreadMethod ParameterizedThreadStart The method to call when the thread starts.
Результат System.Threading

TrackedThread() публичный Метод

Initializes the object with the given values.
public TrackedThread ( ThreadStart p_tdsThreadMethod ) : System.Threading
p_tdsThreadMethod ThreadStart The method to call when the thread starts.
Результат System.Threading