Click or drag to resize
LockedSection Class
Locked section, locks only when the object lock is available.
Inheritance Hierarchy
SystemObject
  CMS.BaseLockedSection

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public class LockedSection : IDisposable

The LockedSection type exposes the following members.

Constructors
  NameDescription
Public methodLockedSection(Boolean, Object)
Constructor, locks the section on specific object.
Public methodLockedSection(Boolean, String)
Constructor, locks the section on the given string key.
Top
Fields
  NameDescription
Protected fieldmBoolCondition
Boolean condition for the locking.
Protected fieldmLock
Object for the synchronization.
Protected fieldmWasBlocked
Flag whether the execution was blocked by another code or not.
Top
Properties
  NameDescription
Public propertyWasBlocked
Returns whether the execution was blocked by another code or not.
Top
Methods
  NameDescription
Public methodDispose
Disposes the object.
Protected methodEnter
Enters the monitor.
Top
See Also