Ssh.StartScriptingAsync Method
Namespace: Rebex.Net
Assembly: Rebex.SshShell.dll (version 7.0.9048)
StartScriptingAsync(Object)
Begins asynchronous StartScripting operation. Starts a scripting session with a virtual terminal.
Declaration
public Task<Scripting> StartScriptingAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<Scripting> | Scripting object. |
StartScriptingAsync(String, Object)
Begins asynchronous StartScripting operation. Starts a scripting session with a virtual terminal.
Declaration
public Task<Scripting> StartScriptingAsync(string command, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | command | Remote command to execute. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<Scripting> | Scripting object. |
StartScriptingAsync(TerminalOptions, Object)
Begins asynchronous StartScripting operation. Starts a scripting session with a virtual terminal.
Declaration
public Task<Scripting> StartScriptingAsync(TerminalOptions options, object state = null)
Parameters
Type | Name | Description |
---|---|---|
TerminalOptions | options | Initial terminal options. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<Scripting> | Scripting object. |
StartScriptingAsync(String, TerminalOptions, Object)
Begins asynchronous StartScripting operation. Starts a scripting session with a virtual terminal.
Declaration
public Task<Scripting> StartScriptingAsync(string command, TerminalOptions options, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | command | Remote command to execute. |
TerminalOptions | options | Initial terminal options. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<Scripting> | Scripting object. |
StartScriptingAsync(String, TerminalOptions, Int32, Int32, Object)
Begins asynchronous StartScripting operation. Starts a scripting session with a virtual terminal.
Declaration
public Task<Scripting> StartScriptingAsync(string command, TerminalOptions options, int columns, int rows, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | command | Remote command to execute. |
TerminalOptions | options | Initial terminal options. |
Int32 | columns | Horizontal size of the terminal (in character columns). |
Int32 | rows | Vertical size of the terminal (in character rows). |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<Scripting> | Scripting object. |