C# Class SmartSync.FileLock

Inheritance: IDisposable
Afficher le fichier Open project: projectkudu/KuduCalf Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
FileLock ( string lockFile ) : System
Init ( ) : bool
Release ( ) : bool
TryAcquire ( System.TimeSpan timeout ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
DeleteFileSafe ( ) : void
ThrowIfUnexpected ( Exception ex ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FileLock() public méthode

public FileLock ( string lockFile ) : System
lockFile string
Résultat System

Init() public méthode

public Init ( ) : bool
Résultat bool

Release() public méthode

public Release ( ) : bool
Résultat bool

TryAcquire() public méthode

public TryAcquire ( System.TimeSpan timeout ) : bool
timeout System.TimeSpan
Résultat bool