IProvProvider::CommitRequest
Handles the second phase of a two-phase commit. Used by Microsoft. Provisioning Framework (MPF).
Syntax
C++ HRESULT CommitRequest ( IXMLDOMNode *pXML );Parameters
- pXML
- A pointer to the IXMLDOMNode object interface.
Remarks
Provisioning engines call CommitRequest to handle the second phase of a two-phase commit.
Custom providers must implement compensating handler code in CommitRequest for every procedure marked as type "two-phase" in the procedure definition. For more information on procedure types, see Transactions.
CommitRequest is called in the same order as ProcessRequest after all of the PrepareRequest calls are made.
Do not put anything in a commit statement that can fail. Whenever CommitRequest returns an error, it means the provider was unable to commit the changes to the associated service, and some data might be in an inconsistent state.
See Also
Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.