ComponentSpace FTP Class Library Reference

FtpClient.EndConnect Method 

Completes the specified asynchronous connect operation.

[Visual Basic]
Public Sub EndConnect( _
   ByVal asyncResult As IAsyncResult _
)
[C#]
public void EndConnect(
   IAsyncResult asyncResult
);

Parameters

asyncResult
The IAsyncResult that identifies the asynchronous connect to finish, and from which to retrieve an end result.

Remarks

When the ConnectCompleted event is raised, EndConnect completes the operation that was initiated by the BeginConnect call.

Exceptions

Exception Type Condition
FtpException Thrown when the connect fails.

See Also

FtpClient Class | ComponentSpace.Ftp Namespace