Ends an asynchronous operation of retrieving list of files in remote directory.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
public IEnumerable<SftpFile> EndListDirectory( IAsyncResult asyncResult )
Parameters
- asyncResult
- Type:
System IAsyncResult
The pending asynchronous SFTP request.
Return Value
List of filesExceptions
| Exception | Condition |
|---|---|
| The IAsyncResult object (asyncResult) did not come from the corresponding async method on this type. -or- EndExecute was called multiple times with the same IAsyncResult. |
See Also