MailBee.NET Objects 7.1

Imap.EndIdle Method 

Ends the pending asynchronous request for idling termination.

public bool EndIdle();

Return Value

true if the method succeeds; otherwise, false.

Remarks

Because idling is multi-step process (requesting idle, idling, requesting for idling termination), EndIdle call must be prepended with StopIdle call which initiates request to terminate idling. Thus, EndIdle itself finishes not idling itself (initiated with BeginIdle) but idling termination (IMAP4's DONE command, initiated with StopIdle method).

Exceptions

Exception Type Condition
MailBeeException An error occurred and ThrowExceptions is true.

See Also

Imap Class | MailBee.ImapMail Namespace | BeginIdle | StopIdle