IAsyncImapClient.StopMonitoringAsync

IAsyncImapClient.StopMonitoringAsync method

Stops monitoring of message changes for specified folder. Stops monitoring of all folders if folderName is null.

public Task StopMonitoringAsync(string folderName = null, CancellationToken token = default)
ParameterTypeDescription
folderNameStringspecified folder for monitoring operation.
tokenCancellationTokenThe cancellation token.

See Also