'Declaration Public Event TransferCompleteEvent As FTP.TransferCompleteEventHandler
'Usage Dim instance As FTP Dim handler As FTP.TransferCompleteEventHandler AddHandler instance.TransferCompleteEvent, handler
public event FTP.TransferCompleteEventHandler TransferCompleteEvent
public event TransferCompleteEvent: FTP.TransferCompleteEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event FTP.TransferCompleteEventHandler* TransferCompleteEvent
public: event FTP.TransferCompleteEventHandler^ TransferCompleteEvent
Event Data
The event handler receives an argument of type TransferCompletedEventArgs containing data related to this event. The following TransferCompletedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CustomObject | A custom user object passed as a parameter of an async operation |
FilesTransfered | A list of the files transfered |
Ftp | Reference to the FTP Instance |
LastException | The exception that occured while transfering or null if no exception |
SessionGuid | A unique identifier for this instantiated ftp session |
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