Method | 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.
|
Method | Description | |
---|---|---|
TimedLock ( object o ) : System |
public static Lock ( object o, System.TimeSpan timeout ) : |
||
o | object | |
timeout | System.TimeSpan | |
return |