C# Class DotNetWorkQueue.Transport.SQLite.Basic.SqLiteMessageQueueCreation

A class that will create the queue tables if needed. No support for updating existing tables is provided.
Inheritance: IQueueCreation
Afficher le fichier Open project: blehnen/DotNetWorkQueue Class Usage Examples

Méthodes publiques

Méthode Description
CreateQueue ( ) : QueueCreationResult

Creates the queue if needed.

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources.

RemoveQueue ( ) : QueueRemoveResult

Attempts to delete an existing queue

Any data in the queue will be lost. Will cause exceptions in any producer/consumer that is connected

SqLiteMessageQueueCreation ( IConnectionInformation connectionInfo, bool>.IQueryHandler queryTableExists, ISqLiteMessageQueueTransportOptionsFactory options, SqLiteMessageQueueSchema createSchema, QueueCreationResult>.ICommandHandlerWithOutput createCommand, QueueRemoveResult>.ICommandHandlerWithOutput deleteCommand, ICreationScope creationScope ) : System

Initializes a new instance of the SqLiteMessageQueueCreation class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

Private Methods

Méthode Description
CreateQueueInternal ( ) : QueueCreationResult

Creates the queue.

RemoveQueueInternal ( ) : QueueRemoveResult

Removes the queue if it exists

Method Details

CreateQueue() public méthode

Creates the queue if needed.
public CreateQueue ( ) : QueueCreationResult
Résultat QueueCreationResult

Dispose() public méthode

Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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.
Résultat void

RemoveQueue() public méthode

Attempts to delete an existing queue
Any data in the queue will be lost. Will cause exceptions in any producer/consumer that is connected
public RemoveQueue ( ) : QueueRemoveResult
Résultat QueueRemoveResult

SqLiteMessageQueueCreation() public méthode

Initializes a new instance of the SqLiteMessageQueueCreation class.
public SqLiteMessageQueueCreation ( IConnectionInformation connectionInfo, bool>.IQueryHandler queryTableExists, ISqLiteMessageQueueTransportOptionsFactory options, SqLiteMessageQueueSchema createSchema, QueueCreationResult>.ICommandHandlerWithOutput createCommand, QueueRemoveResult>.ICommandHandlerWithOutput deleteCommand, ICreationScope creationScope ) : System
connectionInfo IConnectionInformation The connection information.
queryTableExists bool>.IQueryHandler The query table exists.
options ISqLiteMessageQueueTransportOptionsFactory The options.
createSchema SqLiteMessageQueueSchema The create schema.
createCommand QueueCreationResult>.ICommandHandlerWithOutput The create command.
deleteCommand QueueRemoveResult>.ICommandHandlerWithOutput The delete command.
creationScope ICreationScope The creation scope.
Résultat System

ThrowIfDisposed() protected méthode

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