RuntimeTransactionHandle.AbortInstanceOnTransactionFailure Property

.NET Framework (current version)
 

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

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public bool AbortInstanceOnTransactionFailure { get; set; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 4.0
Return to top
Show: