Метод | Описание | |
---|---|---|
Start ( ) : void |
Starts the worker thread.
|
|
Stop ( ) : void |
Stops the worker thread.
|
|
WorkerThread ( System methodToRunInLoop ) : System |
Initializes a new WorkerThread for the specified method to run.
|
Метод | Описание | |
---|---|---|
Loop ( ) : void |
Executes the delegate method until the Stop method is called.
|
public WorkerThread ( System methodToRunInLoop ) : System | ||
methodToRunInLoop | System | The delegate method to execute in a loop. |
Результат | System |