Click or drag to resize
MimeKit

MessagePartial(String, Int32, Int32) Constructor

Initialize a new instance of the MessagePartial class.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public MessagePartial(
	string id,
	int number,
	int total
)

Parameters

id  String
The id value shared among the partial message parts.
number  Int32
The (1-based) part number for this partial message part.
total  Int32
The total number of partial message parts.
Exceptions
ExceptionCondition
ArgumentNullExceptionid is null.
ArgumentOutOfRangeException

number is less than 1.

-or-

total is less than number.

Remarks

Creates a new message/partial entity.

Three (3) parameters must be specified in the Content-Type header of a message/partial: id, number, and total.

The "id" parameter is a unique identifier used to match the parts together.

The "number" parameter is the sequential (1-based) index of the partial message fragment.

The "total" parameter is the total number of pieces that make up the complete message.

See Also