SshCommandEndExecute Method |
Waits for the pending asynchronous command execution to complete.
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic string EndExecute(
IAsyncResult asyncResult
)
Parameters
- asyncResult IAsyncResult
- The reference to the pending asynchronous request to finish.
Return Value
StringCommand execution result.
Exceptions| Exception | Condition |
|---|
| ArgumentException | 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. |
| ArgumentException | 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. |
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also