Constructor DiscoveryRunFailed
- Namespace
- MailFathom.Application.Discovery.Streaming
- Assembly
- MailFathom.Application.dll
DiscoveryRunFailed(DiscoveryRunFailure, MailAnsweringRunSpend)
The run stopped without finishing, and whatever it had already published still stands.
public DiscoveryRunFailed(DiscoveryRunFailure Failure, MailAnsweringRunSpend Spend)
Parameters
FailureDiscoveryRunFailureWhy it stopped, in the terms a client can act on.
SpendMailAnsweringRunSpendWhat the run consumed before it stopped, against the ceilings the start named.
Remarks
The spend is carried here as well as on a completed run, because it is most worth having exactly when a run did not end cleanly: a cancelled run and a run a ceiling refused have both spent something, and cancelling buys the remainder rather than a refund.