Esta documentación está archivada y no tiene mantenimiento.

Activity.Compensating (Evento)

Occurs when running a compensation method on the Activity.

Espacio de nombres: System.Workflow.ComponentModel
Ensamblado: System.Workflow.ComponentModel (en system.workflow.componentmodel.dll)

public event EventHandler<ActivityExecutionStatusChangedEventArgs> Compensating
/** @event */
public void add_Compensating (EventHandler<ActivityExecutionStatusChangedEventArgs> value)

/** @event */
public void remove_Compensating (EventHandler<ActivityExecutionStatusChangedEventArgs> value)

En JScript, se pueden controlar los eventos que define una clase, pero no se pueden definir unos propios.
No aplicable.

Raising an event invokes the event handler through a delegate. For more information, see Provocar un evento.

The Compensating method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notas para los herederos: When overriding Compensating in a derived class, make sure to call the base class Compensating method so that registered delegates receive the event.

Windows 98, Windows 2000 Service Pack 4, Windows CE, Windows Millennium, Windows Mobile para Pocket PC, Windows Mobile para Smartphone, Windows Server 2003, Windows XP Media Center, Windows XP Professional x64, Windows XP SP2, Windows XP Starter

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0
Mostrar: