Compartir a través de


IResourceManager

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The resource manager uses the IResourceManager interface to enlist in distributed transactions. Following a failure, the resource manager uses this interface to determine the outcome of in-doubt transactions.

When to Implement

You do not need to implement this interface. It is implemented by the resource manager object of the DTC proxy.

When to Use

Use this interface to enlist in distributed transactions and to determine the outcome of in-doubt transactions.

Methods in Vtable Order

IResourceManager methods Description
Enlist Enlists a resource manager in a transaction.
Reenlist Re-enlists a resource manager in a transaction.
ReenlistmentComplete Notifies coordinator to forget obligations to any transaction.
GetDistributedTransactionManager Obtains an interface on the DTC.

Remarks

A pointer to this call is returned by the IResourceManagerFactory::Create method.

Requirements

For an explanation of the requirement values, see Requirements (Component Services).

Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista

Header: Declared in txdtc.h

See Also

IResourceManager2