Handles the second phase of a two-phase commit. Used by Microsoft. Provisioning Framework (MPF).


HRESULT CommitRequest  (


A pointer to the IXMLDOMNode object interface.


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

Developing Custom Providers, RollbackRequest

Up Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.