C# Class Renci.SshNet.Abstractions.ThreadAbstraction

Afficher le fichier Open project: sshnet/SSH.NET Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Sleep() public static méthode

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.
Résultat void