C# Class NanoByte.Common.Tasks.WaitTask

Waits for a WaitHandle to become available.
Inheritance: TaskBase
ファイルを表示 Open project: nano-byte/common Class Usage Examples

Public Methods

Method Description
WaitTask ( [ name, [ waitHandle, int millisecondsTimeout = Timeout.Infinite ) : System

Creates a new handle-waiting task.

Protected Methods

Method Description
Execute ( ) : void

Method Details

Execute() protected method

protected Execute ( ) : void
return void

WaitTask() public method

Creates a new handle-waiting task.
public WaitTask ( [ name, [ waitHandle, int millisecondsTimeout = Timeout.Infinite ) : System
name [ A name describing the task in human-readable form.
waitHandle [ >The to wait for.
millisecondsTimeout int The number of milliseconds to wait before rasing ; to wait indefinitely.
return System