ImapClient.ResumeMonitoring

ImapClient.ResumeMonitoring method

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.

public void ResumeMonitoring(ImapMonitoringEventHandler callback, 
    ImapMonitoringErrorEventHandler errorCallback, IImapMonitoringState monitoringState)
ParameterTypeDescription
callbackImapMonitoringEventHandlerThe callback function for monitoring operation.
errorCallbackImapMonitoringErrorEventHandlerThe callback function for monitoring error handling. Monitoring of specified folder is stopped when this callback is called.
monitoringStateIImapMonitoringStateThe monitoring state to resume folder monitoring from. Can be retrieved from MonitoringState.

See Also