This documentation is archived and is not being maintained.

Compensator Class

Represents the base class for all Compensating Resource Manager (CRM) Compensators.

For a list of all members of this type, see Compensator Members.


[Visual Basic]
Public Class Compensator
   Inherits ServicedComponent
public class Compensator : ServicedComponent
public __gc class Compensator : public ServicedComponent
public class Compensator extends ServicedComponent

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


The user should extend from this object in order to write a custom transaction Compensator.

A Compensator must always have a public constructor; otherwise, the recovery engine cannot create it.

For more information see Compensating Resource Managers (CRMs).


Namespace: System.EnterpriseServices.CompensatingResourceManager

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Enterpriseservices (in System.Enterpriseservices.dll)

See Also

Compensator Members | System.EnterpriseServices.CompensatingResourceManager Namespace