Imap.EndIdle Method
Ends the pending asynchronous request for idling termination.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public bool EndIdle()

Return Value

Type: Boolean
true if the method succeeds; otherwise, false.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
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(AsyncCallback, Object)) but idling termination (IMAP4's DONE command, initiated with StopIdle() method).
See Also