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.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Sub New ( _
	state As ImapTransferState, _
	bytesTransferred As Long, _
	bytesSinceLastEvent As Long, _
	bytesTotal As Long _
)
C#
public ImapTransferProgressEventArgs(
	ImapTransferState state,
	long bytesTransferred,
	long bytesSinceLastEvent,
	long bytesTotal
)

Parameters

state
Type: Rebex.Net..::..ImapTransferState
Current state.
bytesTransferred
Type: System..::..Int64
Number of bytes transferred. Ignored if state is ImapTransferState.None.
bytesSinceLastEvent
Type: System..::..Int64
Number of bytes transferred since the last time the event was raised. Ignored if state is ImapTransferState.None.
bytesTotal
Type: System..::..Int64
Total number of bytes to be transferred during this transfer.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also