AsyncReaderWriterResourceLock<TMoniker,TResource>.LockFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |