Progress Event
Reports the progress of the data transfer operation.
Syntax
public event OnProgressHandler OnProgress; public delegate void OnProgressHandler(object sender, ImapclientProgressEventArgs e); public class ImapclientProgressEventArgs : EventArgs { public long Total { get; } public long Current { get; } public bool Cancel { get; set; } }
Public Event OnProgress As OnProgressHandler Public Delegate Sub OnProgressHandler(sender As Object, e As ImapclientProgressEventArgs) Public Class ImapclientProgressEventArgs Inherits EventArgs Public ReadOnly Property Total As Long Public ReadOnly Property Current As Long Public Property Cancel As Boolean End Class
Remarks
The component fires this event repeatedly to report the progress of the data transfer operation.