Class DiscoveryRunFailed
- Namespace
- MailFathom.Application.Discovery.Streaming
- Assembly
- MailFathom.Application.dll
The run stopped without finishing, and whatever it had already published still stands.
public sealed record DiscoveryRunFailed : DiscoveryRunEvent, IEquatable<DiscoveryRunEvent>, IEquatable<DiscoveryRunFailed>
- Inheritance
-
DiscoveryRunFailed
- Implements
- Inherited Members
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.
Constructors
- DiscoveryRunFailed(DiscoveryRunFailure, MailAnsweringRunSpend)
The run stopped without finishing, and whatever it had already published still stands.
Fields
- Kind
The value the type discriminator carries on the wire.
Properties
- EndsTheRun
Gets whether this event ends the run, after which nothing further is published for it.
- EventName
Gets the name this event is published under, which is the value the type discriminator carries.
- Failure
Why it stopped, in the terms a client can act on.
- RetryAt
Gets when the refused allowance returns, which only PeriodSpent carries.
- Spend
What the run consumed before it stopped, against the ceilings the start named.