Method CompensateWith
CompensateWith<TActivity>()
Declares the activity that undoes the step just appended.
ISagaBuilder<TData> CompensateWith<TActivity>() where TActivity : IActivity<TData>
Returns
- ISagaBuilder<TData>
Type Parameters
TActivity
Exceptions
- InvalidOperationException
No step has been appended yet.