ImapTransferProgressEventArgs Constructor
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9083)
ImapTransferProgressEventArgs(ImapTransferState, Int64, Int64, Int64)
Initializes a new instance of the ImapTransferProgressEventArgs class with the specified state, number of bytes transferred during the current transfer and progress since the last time the event was raised.
Declaration
public ImapTransferProgressEventArgs(ImapTransferState state, long bytesTransferred, long bytesSinceLastEvent, long bytesTotal)
Parameters
Type | Name | Description |
---|---|---|
ImapTransferState | state | Current state. |
Int64 | bytesTransferred | Number of bytes transferred. Ignored if state is ImapTransferState.None. |
Int64 | bytesSinceLastEvent | Number of bytes transferred since the last time the event was raised. Ignored if state is ImapTransferState.None. |
Int64 | bytesTotal | Total number of bytes to be transferred during this transfer. |