C# 클래스 NServiceBus.Pipeline.MessageHandler

Represents a message handler and its invocation.
파일 보기 프로젝트 열기: Particular/NServiceBus

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