Share via


IPipelineComponent::Execute

Use this method to execute a pipeline component.

Definition

HRESULT Execute(..IDispatch*pDispOrder, ..IDispatch*pDispContext, ..long lFlags, ..long*plErrorLevel);

Parameters

pDispOrder

[in] A pointer to the OrderForm object.

pDispContext

[in] A pointer to the Context object. This is a Dictionary object that contains pointers to the MessageManager object, Content object, and language information.

lFlags

[in] Reserved. This parameter should be zero (0).

plErrorLevel

[out, retval] A flag that indicates what level of errors is tolerated. See the Remarks section for information about the legal values for this parameter.

This error information is meant to supplement the HRESULT information that is returned. The pipeline maps errors returned from components (E_xxxx errors) to an error level of 2.

Remarks

The plErrorLevel parameter can be one of the following values:

Value Meaning
0 No errors, component executed successfully.
1 Basket or purchase errors for this operation.
2 Serious errors in execution of this component.

For more information about IPipelineComponent interface code generated by the Active Template Library (ATL) Pipeline Component Wizard, see Implementing the IPipelineComponent Interface.

Return Values

The method returns an HRESULT value.

See Also

IPipelineComponent Interface


All rights reserved.