Table of Contents

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

position int

The zero-based walk position of the attachment.

declaredMediaType string

The media type the part declared.

Returns

EmailChunkAttachmentSource

The source.

Exceptions

ArgumentNullException

Thrown when declaredMediaType is null.

ArgumentOutOfRangeException

Thrown when position is negative.