Method PastMessageBudget
- Namespace
- MailFathom.Application.Emails.AttachmentText
- Assembly
- MailFathom.Application.dll
PastMessageBudget(int, string, string?)
Records an attachment the message's own ceiling stopped before anything was offered a parser.
public static DerivedAttachmentText PastMessageBudget(int position, string declaredMediaType, string? fileName)
Parameters
positionintThe attachment's walk position.
declaredMediaTypestringThe media type the part declared.
fileNamestringThe normalized file name, or null.
Returns
- DerivedAttachmentText
The derivation to store.
Remarks
Written rather than omitted, because ADR 0029 records an attachment past a ceiling as having yielded none rather than leaving it absent: a user asking why their contract was not searched is owed the ceiling as an answer. Kind is Document because nothing here opened the file far enough to know what it is, and the value decides nothing for a row carrying no words — neither index holds one either way.
Exceptions
- ArgumentNullException
Thrown when
declaredMediaTypeis null.