Constructor MailboxChangeProgress
- Namespace
- MailFathom.Application.Mail.Mutations.Authoring
- Assembly
- MailFathom.Application.dll
MailboxChangeProgress(MailboxMutationRecordId, StoredEmailId, MailboxMutation, MailboxMutationLifecycle, bool, int, MailFathomErrorCode?, DateTimeOffset, DateTimeOffset)
Where one change somebody authored has got to, as the caller that authored it asks.
public MailboxChangeProgress(MailboxMutationRecordId RecordId, StoredEmailId StoredEmailId, MailboxMutation Mutation, MailboxMutationLifecycle Lifecycle, bool IsOutcomeUnknown, int AttemptCount, MailFathomErrorCode? LastFailure, DateTimeOffset RecordedAt, DateTimeOffset StageChangedAt)
Parameters
RecordIdMailboxMutationRecordIdThe record this answers for, which is what the authoring call handed back.
StoredEmailIdStoredEmailIdThe email the change is about, so a caller holding several records can put each beside its message.
MutationMailboxMutationThe change that was asked for, under the name every log line and counter uses for it.
LifecycleMailboxMutationLifecycleWhether the change is waiting, on its way, done, stuck, or withdrawn.
IsOutcomeUnknownboolWhether the one command that may never be issued twice went out and its answer never came back.
AttemptCountintHow many times the change has been attempted, which is what says a retried change is making no progress.
LastFailureMailFathomErrorCode?The code identifying what the last attempt ended in, or null while none has failed.
RecordedAtDateTimeOffsetWhen the change was written down.
StageChangedAtDateTimeOffsetWhen it last moved, which is what says how long a stuck change has been stuck.
Remarks
The unknown outcome is reported rather than folded into the lifecycle, because it is the one state a person has to
act on rather than wait through. A relocation a server without MOVE carries is a copy followed by a delete,
and a placement whose acknowledgement never arrived is the moment where the message may be in both folders or in
neither — so it is reported as itself instead of appearing as an ordinary change still converging.
Nothing here is mail content. A record identity, a local email identity the caller already holds, a mutation name, a lifecycle name, a count, an error code, and two timestamps are all MailFathom's own words for its own work.