Dart.Ssh Namespace > Ssh Class : Start Method |
'Declaration Public Sub Start( _ ByVal worker As WaitCallback, _ ByVal state As Object _ )
'Usage Dim instance As Ssh Dim worker As WaitCallback Dim state As Object instance.Start(worker, state)
public void Start( WaitCallback worker, object state )
public: void Start( WaitCallback* worker, Object* state )
public: void Start( WaitCallback^ worker, Object^ state )
This method provides an easy means for executing blocking functions on a worker thread. Applications with a UI thread should use this technique to execute processes (like Connect and Read) that can block the UI thread.
The state parameter can be null for cases in which no state information needs to be passed to the worker delegate function.
Unhandled exceptions occurring on the worker thread will be caught and reported in the Error event.