C# 클래스 DotNetWorkQueue.Transport.PostgreSQL.Basic.Message.RollbackMessage

Rolls back a message by either rolling back a transaction or updating a status
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue 1 사용 예제들

공개 메소드들

메소드 설명
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