Table of Contents

Method ToOccurrenceId

Namespace
MailFathom.Application.Jobs
Assembly
MailFathom.Application.dll

ToOccurrenceId()

Rebuilds the occurrence identity this payload names.

public EmailOccurrenceId ToOccurrenceId()

Returns

EmailOccurrenceId

The stable remote occurrence identity.

Remarks

A stored document that no longer parses is refused rather than repaired. Every component was written from a validated identity, so a value that fails here describes a row nothing can act on, and reconstructing a plausible identity from it would point the work at a different message.

Exceptions

ArgumentException

Thrown when a stored component no longer names a valid identity.

ArgumentOutOfRangeException

Thrown when a stored numeric component is outside the range its domain type allows.