Ssh.StartVirtualTerminalAsync Method
Namespace: Rebex.Net
Assembly: Rebex.SshShell.dll (version 7.0.9048)
StartVirtualTerminalAsync(Object)
Begins asynchronous StartVirtualTerminal operation. Starts a virtual terminal session.
Declaration
public Task<VirtualTerminal> StartVirtualTerminalAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<VirtualTerminal> | Virtual terminal object. |
StartVirtualTerminalAsync(TerminalOptions, Object)
Begins asynchronous StartVirtualTerminal operation. Starts a virtual terminal session.
Declaration
public Task<VirtualTerminal> StartVirtualTerminalAsync(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<VirtualTerminal> | Virtual terminal object. |
StartVirtualTerminalAsync(TerminalOptions, Int32, Int32, Object)
Begins asynchronous StartVirtualTerminal operation. Starts a virtual terminal session.
Declaration
public Task<VirtualTerminal> StartVirtualTerminalAsync(TerminalOptions options, int columns, int rows, object state = null)
Parameters
Type | Name | Description |
---|---|---|
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<VirtualTerminal> | Virtual terminal object. |