Click or drag to resize

SshCommandBeginExecute Method

Begins an asynchronous command execution.

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

Return Value

IAsyncResult
An IAsyncResult that represents the asynchronous command execution, which could still be pending.
Exceptions
ExceptionCondition
InvalidOperationExceptionAsynchronous operation is already in progress.
SshExceptionInvalid operation.
ArgumentExceptionCommandText property is empty.
SshConnectionExceptionClient is not connected.
SshOperationTimeoutExceptionOperation has timed out.
InvalidOperationExceptionAsynchronous operation is already in progress.
ArgumentExceptionCommandText property is empty.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also