Method Restore
- Namespace
- MailFathom.Domain.Spam
- Assembly
- MailFathom.Domain.dll
Restore(SpamSignalSource, string)
Reads back a provenance this system recorded earlier.
public static SpamSignalProvenance Restore(SpamSignalSource source, string origin)
Parameters
sourceSpamSignalSourceWhere the signal was read from.
originstringWhat within that source named it.
Returns
- SpamSignalProvenance
The provenance.
Exceptions
- ArgumentException
Thrown when the origin is blank, over-long, or carries a control character.
- ArgumentOutOfRangeException
Thrown when
sourceis not a defined member.