C# Класс DotNetWorkQueue.Transport.PostgreSQL.Basic.Message.RollbackMessage

Rolls back a message by either rolling back a transaction or updating a status
Показать файл Открыть проект Примеры использования класса

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

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

Rollbacks the specified message by setting the status

RollbackForTransaction ( IMessageContext context ) : void

Rollbacks the specified message by rolling back the transaction

RollbackMessage ( QueueConsumerConfiguration configuration, ICommandHandler rollbackCommand, ICommandHandler setStatusCommandHandler, SqlHeaders headers ) : System

Initializes a new instance of the RollbackMessage class.

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

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

Rollbacks the specified message by setting the status
public Rollback ( IMessageContext context ) : void
context IMessageContext The context.
Результат void

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

Rollbacks the specified message by rolling back the transaction
public RollbackForTransaction ( IMessageContext context ) : void
context IMessageContext The context.
Результат void

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

Initializes a new instance of the RollbackMessage class.
public RollbackMessage ( QueueConsumerConfiguration configuration, ICommandHandler rollbackCommand, ICommandHandler setStatusCommandHandler, SqlHeaders headers ) : System
configuration DotNetWorkQueue.Configuration.QueueConsumerConfiguration The configuration.
rollbackCommand ICommandHandler The rollback command.
setStatusCommandHandler ICommandHandler The set status command handler.
headers SqlHeaders The headers.
Результат System