IProvProvider::PrepareRequest


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

Syntax

C++
HRESULT PrepareRequest  (
	IXMLDOMNode *pXML
);

Parameters

pXML
A pointer to the IXMLDOMNode object interface.

Remarks

Provisioning engines call PrepareRequest to handle the first phase of a two-phase commit.

Custom providers must implement compensating handler code in PrepareRequest for every procedure marked as type "two-phase" in the procedure definition. For more information on procedure types, see Transactions.

The provisioning engine does not call CommitRequest until after it completes all the PrepareRequest calls.

See Also

Developing Custom Providers, Transactions


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