Поделиться через


IResourceManagerFactory2

 

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 IResourceManagerFactory2 interface contains a single method that is used to create a new resource manager object. The resource manager object represents the active connection between the resource manager and the transaction manager. Resource managers use this interface to register themselves with the transaction manager.

When to Implement

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

When to Use

A resource manager uses this interface to register itself with the transaction manager.

Methods in Vtable Order

IResourceManagerFactory2 method Description
CreateEx Creates a resource manager object.

Remarks

Call QueryInterface on any interface on the DTC proxy core object with an riid of IID_IResourceManagerFactory2 to obtain a pointer to this interface.

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

IResourceManagerFactory