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

Syntax

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

Parameters

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

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also