Udostępnij za pośrednictwem


DurableTaskOptions.RollbackEntityOperationsOnExceptions Property

Definition

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