Initializes a new instance of the Pop3TransferProgressEventArgs 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.Pop3 (in Rebex.Pop3.dll)

Syntax

Visual Basic
Public Sub New ( _
	state As Pop3TransferState, _
	bytesTransferred As Long, _
	bytesSinceLastEvent As Integer _
)
C#
public Pop3TransferProgressEventArgs(
	Pop3TransferState state,
	long bytesTransferred,
	int bytesSinceLastEvent
)

Parameters

state
Type: Rebex.Net..::..Pop3TransferState
Current state.
bytesTransferred
Type: System..::..Int64
Number of bytes transferred. Ignored if state is Pop3TransferState.None.
bytesSinceLastEvent
Type: System..::..Int32
Number of bytes transferred since the last time the event was raised. Ignored if state is Pop3TransferState.None.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also