C# Class CqlSharp.Threading.IOTaskScheduler.WorkItem

Represents a task queued to the I/O pool.
Inheritance: IDisposable
显示文件 Open project: reuzel/CqlSharp

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

WorkItem ( IOTaskScheduler scheduler ) : System

Private Methods

Method Description
Callback ( uint errorCode, uint numBytes, NativeOverlapped pNOlap ) : void
Enqueue ( ) : void

Enqueues this instance to the IO thread pool.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

WorkItem() public method

public WorkItem ( IOTaskScheduler scheduler ) : System
scheduler IOTaskScheduler
return System