C# Класс NServiceBus.Pipeline.MessageHandler

Represents a message handler and its invocation.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

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

Метод Описание
Invoke ( object message, IMessageHandlerContext handlerContext ) : System.Threading.Tasks.Task

Invokes the message handler.

MessageHandler ( Func invocation, Type handlerType ) : System

Creates a new instance of the message handler with predefined invocation delegate and handler type.

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

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

Invokes the message handler.
public Invoke ( object message, IMessageHandlerContext handlerContext ) : System.Threading.Tasks.Task
message object the message to pass to the handler.
handlerContext IMessageHandlerContext the context to pass to the handler.
Результат System.Threading.Tasks.Task

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

Creates a new instance of the message handler with predefined invocation delegate and handler type.
public MessageHandler ( Func invocation, Type handlerType ) : System
invocation Func The invocation with context delegate.
handlerType System.Type The handler type.
Результат System