C# Class DotNetWorkQueue.Metrics.Decorator.ReceiveMessagesErrorDecorator

Inheritance: IReceiveMessagesError
ファイルを表示 Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
MessageFailedProcessing ( IReceivedMessageInternal message, IMessageContext context, Exception exception ) : ReceiveMessagesErrorResult

Invoked when a message has failed to process.

ReceiveMessagesErrorDecorator ( IMetrics metrics, IReceiveMessagesError handler, IConnectionInformation connectionInformation ) : System

Initializes a new instance of the ReceiveMessagesErrorDecorator class.

Method Details

MessageFailedProcessing() public method

Invoked when a message has failed to process.
public MessageFailedProcessing ( IReceivedMessageInternal message, IMessageContext context, Exception exception ) : ReceiveMessagesErrorResult
message IReceivedMessageInternal The message.
context IMessageContext The context.
exception System.Exception The exception.
return ReceiveMessagesErrorResult

ReceiveMessagesErrorDecorator() public method

Initializes a new instance of the ReceiveMessagesErrorDecorator class.
public ReceiveMessagesErrorDecorator ( IMetrics metrics, IReceiveMessagesError handler, IConnectionInformation connectionInformation ) : System
metrics IMetrics The metrics factory.
handler IReceiveMessagesError The handler.
connectionInformation IConnectionInformation The connection information.
return System