Imap Idle OptionsCoalesce Delay Property
Get or set how long to keep listening for more changes after the first change arrives.
Definition
Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
The coalesce delay.
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public TimeSpan CoalesceDelay { get; set; }Property Value
TimeSpanThe coalesce delay.
Remarks
Gets or sets how long the session continues to idle after receiving the first change notification so that bursts of notifications (for example, when hundreds of messages are moved into the folder at once) are returned as a single ImapIdleChanges batch instead of costing one DONE/IDLE round trip per notification.
A value of Zero ends the IDLE command as soon as the first change arrives.
Exceptions
| ArgumentOutOfRangeException | value is less than Zero or greater than MaxValue milliseconds. |