AsyncReaderWriterResourceLock<TMoniker, TResource>.LockFlags Enumeration

 

Microsoft internal only. Flags that modify the default lock behavior.

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

[FlagsAttribute]
public enum LockFlags

Member nameDescription
None

Microsoft internal only. The default behavior.

SkipInitialPreparation

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

StickyWrite

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

This type is thread-safe for all members.

Return to top
Show: