Edit

Share via


RuntimeTransactionHandle.AbortInstanceOnTransactionFailure Property

Definition

Gets or sets whether the workflow instance should be aborted if the transaction fails.

public:
 property bool AbortInstanceOnTransactionFailure { bool get(); void set(bool value); };
public bool AbortInstanceOnTransactionFailure { get; set; }
member this.AbortInstanceOnTransactionFailure : bool with get, set
Public Property AbortInstanceOnTransactionFailure As Boolean

Property Value

true if the workflow instance should be aborted if the transaction fails; otherwise, false.

Remarks

If AbortInstanceOnTransactionFailure is false, transaction failure results in the exception that causes the failure to be propagated as normal. The default value for AbortInstanceOnTransactionFailure is true.

Applies to