ICompensatableActivity Rozhraní

Definice

Upozornění

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

Definuje rozhraní vyžadované objektem Activity , které lze kompenzovat.

public interface class ICompensatableActivity
public interface ICompensatableActivity
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface ICompensatableActivity
type ICompensatableActivity = interface
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ICompensatableActivity = interface
Public Interface ICompensatableActivity
Odvozené
Atributy

Poznámky

Poznámka

V tomto materiálu jsou popsané zastaralé typy a obory názvů. Další informace naleznete v tématu Zastaralé typy ve Windows Workflow Foundation 4.5.

Další informace o kompenzaci najdete v tématu Použití transakcí v pracovních postupech.

Metody

Compensate(ActivityExecutionContext)
Zastaralé.

Volána modulem runtime pracovního postupu ke kompenzaci aktivity, která je v uzavřeném stavu. Aby byla aktivita kompenzační, musí mít pro svou ExecutionResult vlastnost hodnotu Succeeded .

Platí pro

Viz také