ResumeMonitoring
ResumeMonitoring
Resumes monitoring of message changes for specified folder. Unlike the StartMonitoring method, it will find all missing mailbox changes and call the callback for them.
Returns: void Aspose::Email::Clients::Imap::
ResumeMonitoring(ImapMonitoringEventHandler callback, ImapMonitoringErrorEventHandler errorCallback, System::SharedPtr < IImapMonitoringState > monitoringState)
| Parameter | Description |
|---|---|
| callback | The callback function for monitoring operation. |
| errorCallback | The callback function for monitoring error handling. Monitoring of specified folder is stopped when this callback is called. |
| monitoringState | The monitoring state to resume folder monitoring from. Can be retrieved from ImapMonitoringErrorEventArgs::MonitoringState . |