AsyncReaderWriterLock Methods

 

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

NameDescription
System_CAPS_pubmethodComplete()

Microsoft internal only. Causes new top-level lock requests to be rejected and the Completion task to transition to a completed state after any issued locks have been released.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodGetAggregateLockFlags()

Microsoft internal only. Gets the aggregate of the lock flags for all nested locks.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHideLocks()

Microsoft internal only. Prevents use or visibility of the caller's lock(s) until the returned value is disposed.

System_CAPS_protmethodLockStackContains(AsyncReaderWriterLock::LockFlags, AsyncReaderWriterLock::LockHandle)

Microsoft internal only. Checks whether the aggregated flags from all the locks in the lock stack satisfy the specified flag(s).

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnBeforeExclusiveLockReleasedAsync()

Microsoft internal only. Occurs when the last write lock is about to be released.

System_CAPS_protmethodOnBeforeLockReleasedAsync(Boolean, AsyncReaderWriterLock::LockHandle)

Microsoft internal only. Occurs when any lock is being released.

System_CAPS_pubmethodOnBeforeWriteLockReleased(Func<Task^>^)

Microsoft internal only. Registers a callback that is invoked when the outermost write lock held by the caller is about to be released.

System_CAPS_protmethodOnCriticalFailure(Exception^)

Occurs when the lock detects an internal error or illegal usage pattern that indicates a serious flaw that should be immediately reported to the application, while possibly also stopping the process to avoid hangs or data corruption.

System_CAPS_protmethodOnCriticalFailure(String^)

Occurs when the lock detects an internal error or illegal usage pattern that indicates a serious flaw that should be immediately reported to the application, while possibly also stopping the process to avoid hangs or data corruption.

System_CAPS_protmethodOnExclusiveLockReleasedAsync()

Microsoft internal only. Occurs after an exclusive lock is released but before any other lock consumer has a chance to enter the lock.

System_CAPS_protmethodOnUpgradeableReadLockReleased()

Microsoft internal only. Occurs when a top-level upgradeable read lock is released, leaving no remaining (write) lock.

System_CAPS_pubmethodReadLockAsync(CancellationToken)

Microsoft internal only. Gets a read lock, asynchronously awaiting for the lock if it is not immediately available.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUpgradeableReadLockAsync(CancellationToken)

Microsoft internal only. Gets a read lock, asynchronously awaiting for the lock if it is not immediately available.

System_CAPS_pubmethodUpgradeableReadLockAsync(AsyncReaderWriterLock::LockFlags, CancellationToken)

Microsoft internal only. Gets a read lock, asynchronously awaiting for the lock if it is not immediately available.

System_CAPS_pubmethodWriteLockAsync(CancellationToken)

Microsoft internal only. Gets a write lock, asynchronously awaiting for the lock if it is not immediately available.

System_CAPS_pubmethodWriteLockAsync(AsyncReaderWriterLock::LockFlags, CancellationToken)

Microsoft internal only. Gets a write lock, asynchronously awaiting for the lock if it is not immediately available.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIHangReportContributor::GetHangReport()

Microsoft internal only. data for a hang report.

Return to top
Show: