C# Class NServiceBus.Testing.TestableInvokeHandlerContext

A testable implementation of IInvokeHandlerContext.
Inheritance: TestableIncomingContext, IInvokeHandlerContext
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
DoNotContinueDispatchingCurrentMessageToHandlers ( ) : void

Tells the endpoint to stop dispatching the current message to additional handlers.

HandleCurrentMessageLater ( ) : System.Threading.Tasks.Task

Moves the message being handled to the back of the list of available messages so it can be handled later.

TestableInvokeHandlerContext ( IMessageCreator messageCreator = null ) : System.Collections.Generic

Creates a new instance of TestableInvokeHandlerContext.

Method Details

DoNotContinueDispatchingCurrentMessageToHandlers() public method

Tells the endpoint to stop dispatching the current message to additional handlers.
public DoNotContinueDispatchingCurrentMessageToHandlers ( ) : void
return void

HandleCurrentMessageLater() public method

Moves the message being handled to the back of the list of available messages so it can be handled later.
public HandleCurrentMessageLater ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

TestableInvokeHandlerContext() public method

Creates a new instance of TestableInvokeHandlerContext.
public TestableInvokeHandlerContext ( IMessageCreator messageCreator = null ) : System.Collections.Generic
messageCreator IMessageCreator
return System.Collections.Generic