C# Класс DotNetWorkQueue.Transport.SqlServer.Basic.SqlServerJobQueueCreation

Creates a job queue in a SQL server DB
Наследование: IJobQueueCreation
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Описание методов

CreateJobSchedulerQueue() публичный Метод

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.
Результат QueueCreationResult

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

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.
Результат void

RemoveQueue() публичный Метод

Attempts to delete an existing queue
May not be supported by all transports. Any data in the queue will be lost.
public RemoveQueue ( ) : QueueRemoveResult
Результат QueueRemoveResult

SqlServerJobQueueCreation() публичный Метод

Initializes a new instance of the SqlServerJobQueueCreation class.
public SqlServerJobQueueCreation ( SqlServerMessageQueueCreation queueCreation ) : System
queueCreation SqlServerMessageQueueCreation The queue creation.
Результат System