Méthode | Description | |
---|---|---|
AcquireReaderLock ( System.TimeSpan timeout ) : void | ||
AcquireReaderLock ( int millisecondsTimeout ) : void | ||
AcquireWriterLock ( System.TimeSpan timeout ) : void | ||
AcquireWriterLock ( int millisecondsTimeout ) : void | ||
AnyWritersSince ( int seqNum ) : bool | ||
DowngradeFromWriterLock ( |
||
ReaderWriterLock ( ) : System.Diagnostics | ||
ReleaseLock ( ) : |
||
ReleaseReaderLock ( ) : void | ||
ReleaseWriterLock ( ) : void | ||
RestoreLock ( |
||
UpgradeToWriterLock ( System.TimeSpan timeout ) : |
||
UpgradeToWriterLock ( int millisecondsTimeout ) : |
Méthode | Description | |
---|---|---|
GetCurrentThreadID ( ) : int | ||
GetInvalidLockCookieException ( ) : |
||
GetInvalidTimeoutException ( string parameterName ) : |
||
GetNotOwnerException ( ) : |
The original code used an incorrect Exception.HResult for this exception. The Exception.HResult value was set to ERROR_NOT_OWNER without first converting that error code into an HRESULT. The same value is used here for compatibility.
|
|
GetOrCreateReaderEvent ( ) : |
||
GetOrCreateWriterEvent ( ) : |
||
GetTimeoutException ( ) : |
||
RecoverLock ( |
Helper function that restores the lock to the original state indicated by parameters
|
|
ReleaseEvents ( ) : void | ||
ToTimeoutMilliseconds ( System.TimeSpan timeout ) : int | ||
TryGetOrCreateReaderEvent ( ) : |
||
TryGetOrCreateWriterEvent ( ) : |
||
YieldProcessor ( ) : bool |
public AcquireReaderLock ( System.TimeSpan timeout ) : void | ||
timeout | System.TimeSpan | |
Résultat | void |
public AcquireReaderLock ( int millisecondsTimeout ) : void | ||
millisecondsTimeout | int | |
Résultat | void |
public AcquireWriterLock ( System.TimeSpan timeout ) : void | ||
timeout | System.TimeSpan | |
Résultat | void |
public AcquireWriterLock ( int millisecondsTimeout ) : void | ||
millisecondsTimeout | int | |
Résultat | void |
public AnyWritersSince ( int seqNum ) : bool | ||
seqNum | int | |
Résultat | bool |
public DowngradeFromWriterLock ( |
||
lockCookie | ||
Résultat | void |
public ReaderWriterLock ( ) : System.Diagnostics | ||
Résultat | System.Diagnostics |
public RestoreLock ( |
||
lockCookie | ||
Résultat | void |
public UpgradeToWriterLock ( System.TimeSpan timeout ) : |
||
timeout | System.TimeSpan | |
Résultat |
public UpgradeToWriterLock ( int millisecondsTimeout ) : |
||
millisecondsTimeout | int | |
Résultat |