InstancePersistenceCommand.AutomaticallyAcquiringLock Property

.NET Framework (current version)
 

Indicates whether the command could attempt to acquire a lock on the instance.

Namespace:   System.Runtime.DurableInstancing
Assembly:  System.Runtime.DurableInstancing (in System.Runtime.DurableInstancing.dll)

protected internal virtual bool AutomaticallyAcquiringLock { get; }

Property Value

Type: System.Boolean

true if the command acquires a lock on the instance;, otherwise false. The default is false.

The command classes that derive from this class can override this property to set it to true.

.NET Framework
Available since 4.0
Return to top
Show: