DurableTaskOptions.RollbackEntityOperationsOnExceptions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls whether an uncaught exception inside an entity operation should roll back the effects of the operation.
public bool RollbackEntityOperationsOnExceptions { get; set; }
member this.RollbackEntityOperationsOnExceptions : bool with get, set
Public Property RollbackEntityOperationsOnExceptions As Boolean
Property Value
Remarks
The rollback undoes all internal effects of an operation (sent signals, and state creation, deletion, or modification). However, it does not roll back external effects (such as I/O that was performed). This setting can affect serialization overhead: if true, the entity state is serialized after each individual operation. If false, the entity state is serialized only after an entire batch of operations completes.
Applies to
Azure SDK for .NET