Starting with version 8, NServiceBus supports cooperative cancellation. This enables NServiceBus to participate in graceful shutdown of its host by exposing a cancellation token to abort potentially long-running operations both outside and inside the message processing pipeline.
Switch to the NServiceBus 8 version of this page to see content about this feature.