C# Class System.Threading.SemaphoreSlim

Inheritance: IDisposable
Afficher le fichier Open project: runefs/Marvin Class Usage Examples

Private Properties

Свойство Type Description
CheckState void

Méthodes publiques

Méthode Description
Dispose ( ) : void
Release ( ) : int
Release ( int releaseCount ) : int
SemaphoreSlim ( int initial ) : System
SemaphoreSlim ( int initial, int max ) : System
Wait ( System.TimeSpan ts ) : bool
Wait ( int millisecondsTimeout ) : bool
Wait ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool managedRes ) : void

Private Methods

Méthode Description
CheckState ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

Release() public méthode

public Release ( ) : int
Résultat int

Release() public méthode

public Release ( int releaseCount ) : int
releaseCount int
Résultat int

SemaphoreSlim() public méthode

public SemaphoreSlim ( int initial ) : System
initial int
Résultat System

SemaphoreSlim() public méthode

public SemaphoreSlim ( int initial, int max ) : System
initial int
max int
Résultat System

Wait() public méthode

public Wait ( System.TimeSpan ts ) : bool
ts System.TimeSpan
Résultat bool

Wait() public méthode

public Wait ( int millisecondsTimeout ) : bool
millisecondsTimeout int
Résultat bool

Wait() public méthode

public Wait ( ) : void
Résultat void