Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Disposes of this lock.
|
|
Lock ( object o ) : |
Attempts to obtain a lock on the specified object for up to 10 seconds.
|
|
Lock ( object o, System.TimeSpan timeout ) : |
Attempts to obtain a lock on the specified object for up to the specified timeout.
|
Méthode | Description | |
---|---|---|
TimedLock ( object o ) : System |
public static Lock ( object o ) : |
||
o | object | |
Résultat |
public static Lock ( object o, System.TimeSpan timeout ) : |
||
o | object | |
timeout | System.TimeSpan | |
Résultat |