Click or drag to resize

SshCommandBeginExecute(String, AsyncCallback, Object) Method

Begins an asynchronous command execution. 22

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public IAsyncResult BeginExecute(
	string commandText,
	AsyncCallback callback,
	Object state
)

Parameters

commandText  String
The command text.
callback  AsyncCallback
An optional asynchronous callback, to be called when the command execution is complete.
state  Object
A user-provided object that distinguishes this particular asynchronous read request from other requests.

Return Value

IAsyncResult
An IAsyncResult that represents the asynchronous command execution, which could still be pending.
Exceptions
ExceptionCondition
SshConnectionExceptionClient is not connected.
SshOperationTimeoutExceptionOperation has timed out.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also