C# Class Renci.SshNet.Abstractions.ThreadAbstraction

Mostrar archivo Open project: sshnet/SSH.NET Class Usage Examples

Public Methods

Method Description
ExecuteThread ( System.Action action ) : void

Executes the specified action in a separate thread.

Sleep ( int millisecondsTimeout ) : void

Suspends the current thread for the specified number of milliseconds.

Method Details

ExecuteThread() public static method

Executes the specified action in a separate thread.
public static ExecuteThread ( System.Action action ) : void
action System.Action The action to execute.
return void

Sleep() public static method

Suspends the current thread for the specified number of milliseconds.
public static Sleep ( int millisecondsTimeout ) : void
millisecondsTimeout int The number of milliseconds for which the thread is suspended.
return void