Message Partial(String, Int 32, Int 32) Constructor
Initialize a new instance of the MessagePartial class.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public MessagePartial(
string id,
int number,
int total
)Parameters
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.
Exceptions
| ArgumentNullException | id is . |
| ArgumentOutOfRangeException |
number is less than 1. -or- total is less than number. |