C# 클래스 DotNetWorkQueue.Queue.ProcessMessageAsync

Runs user code and commits the message
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue 1 사용 예제들

공개 메소드들

메소드 설명
Handle ( IMessageContext context, IReceivedMessageInternal transportMessage ) : Task

Handles processing the specified message with the context

ProcessMessageAsync ( IHandleMessage handler, IHeartBeatWorkerFactory heartBeatWorkerFactory, MessageExceptionHandler messageExceptionHandler, ICommitMessage commitMessage ) : System

Initializes a new instance of the ProcessMessageAsync class.

메소드 상세

Handle() 공개 메소드

Handles processing the specified message with the context
public Handle ( IMessageContext context, IReceivedMessageInternal transportMessage ) : Task
context IMessageContext The context.
transportMessage IReceivedMessageInternal The transport message.
리턴 Task

ProcessMessageAsync() 공개 메소드

Initializes a new instance of the ProcessMessageAsync class.
public ProcessMessageAsync ( IHandleMessage handler, IHeartBeatWorkerFactory heartBeatWorkerFactory, MessageExceptionHandler messageExceptionHandler, ICommitMessage commitMessage ) : System
handler IHandleMessage The handler.
heartBeatWorkerFactory IHeartBeatWorkerFactory The heart beat worker factory.
messageExceptionHandler MessageExceptionHandler The message exception handler.
commitMessage ICommitMessage The commit message.
리턴 System