SshCommandBeginExecute(String, AsyncCallback, Object) Method |
Begins an asynchronous command execution. 22
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic 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.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also