C# Class NServiceBus.Testing.TestableInvokeHandlerContext

A testable implementation of IInvokeHandlerContext.
Inheritance: TestableIncomingContext, IInvokeHandlerContext
Afficher le fichier Open project: Particular/NServiceBus

Méthodes publiques

Méthode 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 méthode

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

HandleCurrentMessageLater() public méthode

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
Résultat System.Threading.Tasks.Task

TestableInvokeHandlerContext() public méthode

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