Begins asynchronous Bind operation. Binds the control to the specified shell channel factory - usually an instance of Rebex.Net.Ssh or Rebex.Net.Telnet class.

Namespace:  Rebex.TerminalEmulation
Assembly:  Rebex.Terminal (in Rebex.Terminal.dll)

Syntax

Visual Basic
Public Function BindAsync ( _
	factory As IShellChannelFactory, _
	state As Object _
) As Task
C#
public Task BindAsync(
	IShellChannelFactory factory,
	Object state
)

Parameters

factory
Type: Rebex.TerminalEmulation..::..IShellChannelFactory
Shell channel factory.
state
Type: System..::..Object
An optional user-provided object that identifies this particular asynchronous operation.

Version Information

.NET Framework

Supported in: 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0

See Also