C# Class DotNetWorkQueue.Transport.SqlServer.Basic.SqlServerJobQueueCreation

Creates a job queue in a SQL server DB
Inheritance: IJobQueueCreation
Mostrar archivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
CreateJobSchedulerQueue ( Action registerService, string queue, string connection, bool enableRoute = false ) : QueueCreationResult

Tells the transport to setup and create a queue for handling re-occurring jobs.

Dispose ( ) : void

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

RemoveQueue ( ) : QueueRemoveResult

Attempts to delete an existing queue

May not be supported by all transports. Any data in the queue will be lost.

SqlServerJobQueueCreation ( SqlServerMessageQueueCreation queueCreation ) : System

Initializes a new instance of the SqlServerJobQueueCreation class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

CreateJobSchedulerQueue() public method

Tells the transport to setup and create a queue for handling re-occurring jobs.
public CreateJobSchedulerQueue ( Action registerService, string queue, string connection, bool enableRoute = false ) : QueueCreationResult
registerService Action The additional registrations.
queue string The queue.
connection string The connection.
enableRoute bool if set to true route support will be enabled.
return QueueCreationResult

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

RemoveQueue() public method

Attempts to delete an existing queue
May not be supported by all transports. Any data in the queue will be lost.
public RemoveQueue ( ) : QueueRemoveResult
return QueueRemoveResult

SqlServerJobQueueCreation() public method

Initializes a new instance of the SqlServerJobQueueCreation class.
public SqlServerJobQueueCreation ( SqlServerMessageQueueCreation queueCreation ) : System
queueCreation SqlServerMessageQueueCreation The queue creation.
return System