C# Class DotNetWorkQueue.Queue.BaseQueue

Base queue class
Inheritance: IDisposable, IIsDisposed
Exibir arquivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Dispose ( ) : void

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

Protected Methods

Method Description
BaseQueue ( ILogFactory log ) : System

Initializes a new instance of the BaseQueue class.

Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

LogSystemException ( object sender, WorkerErrorEventArgs e ) : void

Logs the system exception.

LogUserException ( object sender, WorkerErrorEventArgs e ) : void

Logs the user exception.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

Method Details

BaseQueue() protected method

Initializes a new instance of the BaseQueue class.
protected BaseQueue ( ILogFactory log ) : System
log ILogFactory The log.
return System

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

LogSystemException() protected method

Logs the system exception.
protected LogSystemException ( object sender, WorkerErrorEventArgs e ) : void
sender object The sender.
e WorkerErrorEventArgs The instance containing the event data.
return void

LogUserException() protected method

Logs the user exception.
protected LogUserException ( object sender, WorkerErrorEventArgs e ) : void
sender object The sender.
e WorkerErrorEventArgs The instance containing the event data.
return void

ThrowIfDisposed() protected method

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