StartTransfer Event
Fired when the message or the part data starts transferring.
Syntax
public event OnStartTransferHandler OnStartTransfer; public delegate void OnStartTransferHandler(object sender, ImapStartTransferEventArgs e); public class ImapStartTransferEventArgs : EventArgs { public int Direction { get; } }
Public Event OnStartTransfer As OnStartTransferHandler Public Delegate Sub OnStartTransferHandler(sender As Object, e As ImapStartTransferEventArgs) Public Class ImapStartTransferEventArgs Inherits EventArgs Public ReadOnly Property Direction As Integer End Class
Remarks
The StartTransfer event is fired when the message body or the part data starts transferring from the server to the local host. Further progress information is provided by the Transfer and EndTransfer events.
The Direction parameter shows whether the client (0) or the server (1) is sending the data.