Ends an asynchronous uploading the steam into remote file.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
public void EndUploadFile( IAsyncResult asyncResult )
Parameters
- asyncResult
- Type:
System IAsyncResult
The pending asynchronous SFTP request.
Exceptions
| Exception | Condition |
|---|---|
| Either the IAsyncResult object did not come from the corresponding async method on this type, or EndExecute was called multiple times with the same IAsyncResult. | |
| 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