Collapse All Expand All

C#

Clarion Library 6.1.1
ClarionComponent..::..CommitLock Property
ClarionComponent Class See Also Send Feedback

[This is preliminary documentation and is subject to change.]

Gets the thread locker that should be used during committing process of a component

Namespace: Clarion.Framework.Core
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

# Syntax

C#
    protected ReaderWriterLockSlim CommitLock { get; }

# Remarks

Note
Users implementing a custom component are HIGHLY recommended to use this thread locker within the custom component's commit method. Doing so helps ensure that the committing remains thread-safe throughout the commit process. Details on how to correctly use this property can be found in the Advanced Tutorial under the Tutorials section of the Clarion Library package.

# See Also

ClarionComponent Class
Clarion.Framework.Core Namespace