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: 10.0.0
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