Ανάγνωση στα Αγγλικά Επεξεργασία

Κοινή χρήση μέσω


ICompensatableActivity Interface

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Defines the interface required by an Activity that can be compensated.

C#
public interface ICompensatableActivity
C#
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface ICompensatableActivity
Derived
Attributes

Remarks

Σημείωση

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

For more information about compensation, see Using Transactions in Workflows.

Methods

Compensate(ActivityExecutionContext)

Called by the workflow runtime to compensate an activity that is in the Closed state. The activity must have a value of Succeeded for its ExecutionResult property in order to be compensatable.

Applies to

Προϊόν Εκδόσεις (Καταργήθηκε)
.NET Framework 3.0, 3.5, 4.0 (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)

See also