C# Class DotNetWorkQueue.Queue.QueueCancelWork

Informs listeners that they should stop looking for new work StopWorkToken or cancel existing working CancelWorkToken
Inheritance: IQueueCancelWork
显示文件 Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Dispose ( ) : void

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

QueueCancelWork ( ) : System

Initializes a new instance of the QueueCancelWork class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

Method Details

Dispose() public method

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

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

QueueCancelWork() public method

Initializes a new instance of the QueueCancelWork class.
public QueueCancelWork ( ) : System
return System

ThrowIfDisposed() protected method

Throws an exception if this instance has been disposed.
protected ThrowIfDisposed ( [ name = "" ) : void
name [ The name.
return void