ImapIdleOptions Class

Options for an ImapIdleSession.

Definition

Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public sealed class ImapIdleOptions
Inheritance
Object    ImapIdleOptions

Remarks

Options that control how an ImapIdleSession waits for changes.

The option values are copied when the session is created by CreateIdleSession(ImapIdleOptions), so changing them afterward has no effect on existing sessions.

Constructors

ImapIdleOptions Initialize a new instance of the ImapIdleOptions class.

Properties

CoalesceDelay Get or set how long to keep listening for more changes after the first change arrives.
PollInterval Get or set the interval at which the server is polled when it does not support IDLE.
RefreshInterval Get or set the interval at which the IDLE command is restarted.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns a string that represents the current object.
(Inherited from Object)

Fields

DefaultCoalesceDelay The default value of the CoalesceDelay property (250 milliseconds).
DefaultPollInterval The default value of the PollInterval property (1 minute).
DefaultRefreshInterval The default value of the RefreshInterval property (9 minutes).

See Also