Click or drag to resize

SshCommandEndExecute Method

Waits for the pending asynchronous command execution to complete.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public string EndExecute(
	IAsyncResult asyncResult
)

Parameters

asyncResult  IAsyncResult
The reference to the pending asynchronous request to finish.

Return Value

String
Command execution result.
Exceptions
ExceptionCondition
ArgumentExceptionEither the IAsyncResult object did not come from the corresponding async method on this type, or EndExecute was called multiple times with the same IAsyncResult.
ArgumentExceptionEither 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