ComponentSpace FTP Class Library Reference

FtpClient.ConnectCompleted Event

Occurs when the connect has completed.

[Visual Basic]
Public Event ConnectCompleted As FtpOperationCompletedEventHandler
[C#]
public event FtpOperationCompletedEventHandler ConnectCompleted;

Event Data

The event handler receives an argument of type FtpOperationCompletedEventArgs containing data related to this event. The following FtpOperationCompletedEventArgs property provides information specific to this event.

Property Description
AsyncResult Gets the result of the asynchronous send operation.

Remarks

BeginConnect is used in asynchronous processing to raise the ConnectCompleted event when the connect has completed.

EndConnect is used to complete the operation initiated by a call to BeginConnect and get the connect status when the ConnectCompleted event is raised.

See Also

FtpClient Class | ComponentSpace.Ftp Namespace