Table of Contents

Method Create

Namespace
MailFathom.Domain.Delivery
Assembly
MailFathom.Domain.dll

Create(string)

Restores a principal from the fingerprint a stored row holds.

public static OutgoingEmailPrincipal Create(string fingerprint)

Parameters

fingerprint string

The stored value.

Returns

OutgoingEmailPrincipal

The principal that row names.

Remarks

It validates rather than accepting whatever the column held, because the value's whole purpose is that two of them are equal or are not: a row carrying anything else would compare unequal to every caller and silently hide a send from the one who queued it, which is a fault to raise rather than a record to serve.

Exceptions

ArgumentException

Thrown when fingerprint is not a fingerprint this system writes.