InstancePersistenceCommand.IsTransactionEnlistmentOptional Property

.NET Framework (current version)

Returns a value that indicates whether the persistence provider may choose not to enlist in the ambient transaction (Transaction.Currnet) when executing this command.

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

protected internal virtual bool IsTransactionEnlistmentOptional { get; }

Property Value

Type: System.Boolean

True if enlisting in the transaction is optional for this command, otherwise 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