InProgressResponseCode Constructor

Initialize a new instance of the InProgressResponseCode class.

Definition

Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public InProgressResponseCode(
	string? tag,
	long? progress,
	long? goal,
	string message
)

Parameters

tag  String
The tag of the command that is in progress, or if unknown.
progress  NullableInt64
The number of items processed so far, or if unknown.
goal  NullableInt64
The total number of items to process, or if unknown.
message  String
The human-readable text that followed the response code.

Remarks

Creates a new InProgressResponseCode.

Exceptions

ArgumentNullException message is .
ArgumentOutOfRangeException

progress is negative.

-or-

goal is less than 1, less than progress, or specified without a progress.

See Also