NServiceBus.Testing.TestableInvokeHandlerContext.DoNotContinueDispatchingCurrentMessageToHandlers C# (CSharp) Method

DoNotContinueDispatchingCurrentMessageToHandlers() public method

Tells the endpoint to stop dispatching the current message to additional handlers.
public DoNotContinueDispatchingCurrentMessageToHandlers ( ) : void
return void
        public void DoNotContinueDispatchingCurrentMessageToHandlers()
        {
            DoNotContinueDispatchingCurrentMessageToHandlersWasCalled = true;
        }