An NDoc Documented Class Library

FTPConnection.Closed Event

Occurs when the component has closed its connection to the server.

public event FTPConnectionEventHandler Closed;

Event Data

The event handler receives an argument of type FTPConnectionEventArgs containing data related to this event. The following FTPConnectionEventArgs properties provide information specific to this event.

Property Description
ConnectionInstanceNumber Identifies the pooled connection on which the task is running.
IsConnected Indicates whether or not the client is now connected to the server.
IsGuiThread Indicates whether or not the event-handler has been invoked on the GUI thread.
ServerAddress Address of server.
ServerPort FTP port on server.
TaskID Identifies the asynchronous operation within which the event was triggered (applies to asynchronous methods only).

See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace