你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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