Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Lock ( object o ) : |
Lock an object.
|
|
Lock ( object o, System.TimeSpan timeout ) : |
The object to lock.
|
Метод | Описание | |
---|---|---|
TimedLock ( object o ) : System |
Initializes a new instance of the TimedLock struct.
|
public static Lock ( object o ) : |
||
o | object | The object to lock. |
Результат |
public static Lock ( object o, System.TimeSpan timeout ) : |
||
o | object | The object to lock. |
timeout | System.TimeSpan | The timeout. |
Результат |