ITransactionPhase0NotifyAsync::EnlistCompleted
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 DTC Proxy calls this method to notify a Phase0 participant that the process of enlisting with the TM is complete. The status parameter indicates whether the phase0 enlistment succeeded or failed. A Phase0 participant who is not interested in receiving this event should simply return S_OK.
Syntax
HRESULT EnlistCompleted( HRESULTstatus,
);
Parameters
status
[in] Result code indicating the success or failure of the enlistment Create request.
Return Values
S_OK
Success—the transaction pull completed.
E_OUTOFMEMORY
Failure—out of resources.
E_UNEXPECTED
Failure—an unexpected error occurred.
XACT_E_TMNOTAVAILABLE
Failure—unable to connect to the transaction manager.
XACT_E_NOTRANSACTION
Failure—the transaction has already committed or aborted.
XACT_E_CONNECTION_DOWN
Failure—connection with the transaction manager was lost.
XACT_E_CONNECTION_DENIED
Failure—The transaction manager refused to accept a connection.
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