Ends a pending asynchronous operation started with FtpWebRequest.BeginGetResponse(AsyncCallback, object).
- asyncResult
- The IAsyncResult that was returned when the operation started.
A System.Net.WebResponse reference that contains an System.Net.FtpWebResponse instance. This object contains the FTP server's response to the request.
If the operation has not completed at the time the FtpWebRequest.EndGetResponse(IAsyncResult) method is called, FtpWebRequest.EndGetResponse(IAsyncResult) blocks until the operation completes. To prevent blocking, check the IAsyncResult.IsCompleted property before calling FtpWebRequest.EndGetResponse(IAsyncResult).
In addition to the exceptions noted in "Exceptions," FtpWebRequest.EndGetResponse(IAsyncResult) rethrows exceptions that were thrown while communicating with the server.
This member outputs trace information when you enable network tracing in your application. For more information, see [<topic://conUsingNetworkTracing>].