Constructor OpenedEmailAttachmentResult
- Namespace
- MailFathom.Application.EmailContent.Attachments
- Assembly
- MailFathom.Application.dll
OpenedEmailAttachmentResult(IOpenedEmailAttachment?, bool)
What opening one attachment of a stored message produced.
public OpenedEmailAttachmentResult(IOpenedEmailAttachment? Attachment, bool ContentIsUnreadable)
Parameters
AttachmentIOpenedEmailAttachmentThe opened attachment, which the caller owns and must dispose, or null when none was opened.
ContentIsUnreadableboolWhether the stored bytes could not be parsed at all, as opposed to naming no such attachment.
Remarks
The two absences are separated for the reason a read separates them: bytes that no longer parse are a damaged local copy the caller records a repair request for, while a position the message does not have is an ordinary refusal of a capability that has outlived the message it described. Neither reaches the reader as anything but one refusal.