C# Класс DotNetWorkQueue.Queue.MessageExceptionHandler

Handles action for when a message throws an exception.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Handle ( IReceivedMessageInternal message, IMessageContext context, Exception exception ) : void

Handles the specified message.

MessageExceptionHandler ( IReceiveMessagesError transportErrorHandler, ILogFactory log ) : System

Initializes a new instance of the MessageExceptionHandler class.

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

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

Handles the specified message.
An error has occurred in the error handling code An unhanded exception has occurred while processing a message
public Handle ( IReceivedMessageInternal message, IMessageContext context, Exception exception ) : void
message IReceivedMessageInternal The message.
context IMessageContext The context.
exception System.Exception The exception.
Результат void

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

Initializes a new instance of the MessageExceptionHandler class.
public MessageExceptionHandler ( IReceiveMessagesError transportErrorHandler, ILogFactory log ) : System
transportErrorHandler IReceiveMessagesError The transport error handler.
log ILogFactory The log.
Результат System