Editare

Partajați prin


DesignerTransaction.Canceled Property

Definition

Gets a value indicating whether the transaction was canceled.

public:
 property bool Canceled { bool get(); };
public bool Canceled { get; }
member this.Canceled : bool
Public ReadOnly Property Canceled As Boolean

Property Value

true if the transaction was canceled; otherwise, false.

Remarks

When a designer transaction is canceled, the transaction processing mechanism attempts to roll back the changes that have been made so far in the transaction. Whether this succeeds is dependent upon such factors as the type of each operation, whether other operations interfered with any of the involved code's state, and whether a sequence of expected operations failed to complete.

Applies to