Method Create
- Namespace
- MailFathom.Application.Emails.Chunking
- Assembly
- MailFathom.Application.dll
Create(int, string)
Builds the source of a passage cut from one attachment.
public static EmailChunkAttachmentSource Create(int position, string declaredMediaType)
Parameters
positionintThe zero-based walk position of the attachment.
declaredMediaTypestringThe media type the part declared.
Returns
- EmailChunkAttachmentSource
The source.
Exceptions
- ArgumentNullException
Thrown when
declaredMediaTypeis null.- ArgumentOutOfRangeException
Thrown when
positionis negative.