Getting Started
Architecture
Transports
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Samples

Cooperative cancellation

Component: NServiceBus
NuGet Package: NServiceBus (7.x)

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.

Samples