Skip to content

UseExclusiveLockAttribute

class

Namespace: Orleans

The UseExclusiveLock attribute is used to mark transactional methods that should acquire exclusive locks even for read operations. This prevents frequent lock upgrade conflicts under high contention.
public sealed class UseExclusiveLockAttribute : Attribute

Constructors