Completes the specified asynchronous connect operation.
IAsyncResult that identifies the asynchronous connect to finish, and from which to retrieve an end result. When the ConnectCompleted event is raised, EndConnect completes the operation that was initiated by the BeginConnect call.
| Exception Type | Condition |
|---|---|
| FtpException | Thrown when the connect fails. |