Table of Contents

Enum ContactWriteOutcome

Namespace
MailFathom.Application.Contacts
Assembly
MailFathom.Application.dll

How a write to the contact book ended.

public enum ContactWriteOutcome

Fields

AddressHeldByAnotherContact = 2

One of the addresses already belongs to a different contact, which the result names.

AlreadyAsserted = 4

The contact is already asserted, so there is no promotion left to perform.

NotFound = 1

No contact of that identity is in the book.

OriginRefusesWriter = 3

The contact's origin does not admit a writer of the origin that asked.

Written = 0

The book holds what the caller asked for.

Remarks

Each value but the first is a refusal a caller acts on and continues from, which is why the book answers with a result rather than raising: an address already held by somebody else, a contact that is not there, and a write a record's origin does not admit are all things a surface reports to its owner, not failures to unwind through.