C# Класс DotNetWorkQueue.Transport.SqlServer.Basic.Message.CommitMessage

Commits a processed message
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Commit ( IMessageContext context ) : void

Commits the processed message, by deleting the message

CommitForTransaction ( IMessageContext context ) : void

Commits the message, via the held transaction

CommitMessage ( QueueConsumerConfiguration configuration, ICommandHandler deleteStatusCommandHandler, long>.ICommandHandlerWithOutput deleteMessageCommand, SqlHeaders headers, long>.ICommandHandlerWithOutput deleteTransactionalMessageCommand ) : DotNetWorkQueue.Configuration

Initializes a new instance of the CommitMessage class.

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

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

Commits the processed message, by deleting the message
public Commit ( IMessageContext context ) : void
context IMessageContext The context.
Результат void

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

Commits the message, via the held transaction
public CommitForTransaction ( IMessageContext context ) : void
context IMessageContext The context.
Результат void

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

Initializes a new instance of the CommitMessage class.
public CommitMessage ( QueueConsumerConfiguration configuration, ICommandHandler deleteStatusCommandHandler, long>.ICommandHandlerWithOutput deleteMessageCommand, SqlHeaders headers, long>.ICommandHandlerWithOutput deleteTransactionalMessageCommand ) : DotNetWorkQueue.Configuration
configuration DotNetWorkQueue.Configuration.QueueConsumerConfiguration The configuration.
deleteStatusCommandHandler ICommandHandler The delete status command handler.
deleteMessageCommand long>.ICommandHandlerWithOutput The delete message command.
headers SqlHeaders The headers.
deleteTransactionalMessageCommand long>.ICommandHandlerWithOutput The delete transactional message command.
Результат DotNetWorkQueue.Configuration