'Declaration Public Event OverallProgressEvent As FTP.TransferProgressChangedEventHandler
'Usage Dim instance As FTP Dim handler As FTP.TransferProgressChangedEventHandler AddHandler instance.OverallProgressEvent, handler
public event FTP.TransferProgressChangedEventHandler OverallProgressEvent
public event OverallProgressEvent: FTP.TransferProgressChangedEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event FTP.TransferProgressChangedEventHandler* OverallProgressEvent
public: event FTP.TransferProgressChangedEventHandler^ OverallProgressEvent
Event Data
The event handler receives an argument of type TransferProgressChangedEventArgs containing data related to this event. The following TransferProgressChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
BytesTransferred | The amount of bytes already Transferred |
CustomObject | A custom user object passed as a parameter of an async operation |
ProgressPercentage | The percentage Transferred |
SessionGuid | A unique identifier for this instantiated ftp session |
TotalBytesToTransfer | The amount of bytes to be Transferred |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also