Click or drag to resize

ImapClientResumeMonitoring 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.

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.10
Syntax
public void ResumeMonitoring(
	ImapMonitoringEventHandler callback,
	ImapMonitoringErrorEventHandler errorCallback,
	IImapMonitoringState monitoringState
)

Parameters

callback
Type: Aspose.Email.Clients.ImapImapMonitoringEventHandler
The callback function for monitoring operation.
errorCallback
Type: Aspose.Email.Clients.ImapImapMonitoringErrorEventHandler
The callback function for monitoring error handling. Monitoring of specified folder is stopped when this callback is called.
monitoringState
Type: Aspose.Email.Clients.ImapIImapMonitoringState
The monitoring state to resume folder monitoring from. Can be retrieved from MonitoringState.
See Also