EndTransfer Event
Fired when the message or the part data finishes transferring.
Syntax
public event OnEndTransferHandler OnEndTransfer; public delegate void OnEndTransferHandler(object sender, ImapEndTransferEventArgs e); public class ImapEndTransferEventArgs : EventArgs { public int Direction { get; } }
Public Event OnEndTransfer As OnEndTransferHandler Public Delegate Sub OnEndTransferHandler(sender As Object, e As ImapEndTransferEventArgs) Public Class ImapEndTransferEventArgs Inherits EventArgs Public ReadOnly Property Direction As Integer End Class
Remarks
The EndTransfer event is fired when the requested message body or part completes transferring from the server to the local host.
The Direction parameter shows whether the client (0) or the server (1) is sending the data.