Export (0) Print
Expand All

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.

System.Object
   System.MarshalByRefObject
      System.ContextBoundObject
         System.EnterpriseServices.ServicedComponent
            System.EnterpriseServices.CompensatingResourceManager.Compensator

[Visual Basic]
Public Class Compensator
   Inherits ServicedComponent
[C#]
public class Compensator : ServicedComponent
[C++]
public __gc class Compensator : public ServicedComponent
[JScript]
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.

Remarks

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).

Requirements

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

Show:
© 2014 Microsoft