ImapEndIdle Method
Ends the pending asynchronous request for idling termination.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public bool EndIdle()

Return Value

Type: Boolean
true if the method succeeds; otherwise, false.
MailBeeExceptionAn error occurred and ThrowExceptions is true.
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