Enum ContactWriteOutcome
- Namespace
- MailFathom.Application.Contacts
- Assembly
- MailFathom.Application.dll
How a write to the contact book ended.
public enum ContactWriteOutcome
Fields
AddressHeldByAnotherContact = 2One of the addresses already belongs to a different contact, which the result names.
AlreadyAsserted = 4The contact is already asserted, so there is no promotion left to perform.
NotFound = 1No contact of that identity is in the book.
OriginRefusesWriter = 3The contact's origin does not admit a writer of the origin that asked.
Written = 0The 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.