Partager via


AsyncReaderWriterResourceLock<TMoniker,TResource>.LockFlags Enum

Definition

Flags that modify default lock behavior.

This enumeration supports a bitwise combination of its member values.

public:  where TResource : classenum class AsyncReaderWriterResourceLock<TMoniker, TResource>::LockFlags
[System.Flags]
public enum AsyncReaderWriterResourceLock<TMoniker,TResource>.LockFlags
[<System.Flags>]
type AsyncReaderWriterResourceLock<'Moniker, 'Resource (requires 'Resource : null)>.LockFlags = 
Public Enum AsyncReaderWriterResourceLock(Of TMoniker, TResource).LockFlags
Inheritance
AsyncReaderWriterResourceLock<TMoniker,TResource>.LockFlags
Attributes

Fields

Name Value Description
None 0

The default behavior applies.

StickyWrite 1

Causes an upgradeable reader to remain in an upgraded-write state once upgraded, even after the nested write lock has been released.

SkipInitialPreparation 4096

Skips a step to make sure that the resource is initially prepared when retrieved using GetResourceAsync.

Applies to