NET SFTP Library
TransferCompleteEvent Event






KellermanSoftware.NetSFtpLibrary Namespace > SFTP Class : TransferCompleteEvent Event
Fired when an asynchronous transfere has completed
Syntax
'Declaration
 
Public Event TransferCompleteEvent As SFTP.TransferCompleteEventHandler
'Usage
 
Dim instance As SFTP
Dim handler As SFTP.TransferCompleteEventHandler
 
AddHandler instance.TransferCompleteEvent, handler
public event SFTP.TransferCompleteEventHandler TransferCompleteEvent
public event TransferCompleteEvent: SFTP.TransferCompleteEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event SFTP.TransferCompleteEventHandler* TransferCompleteEvent
public:
event SFTP.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.

PropertyDescription
A custom user object passed as a parameter of an async operation  
A list of the files transfered  
The exception that occured while transfering or null if no exception  
A unique identifier for this instantiated ftp session  
Reference to the FTP Instance  
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