IPipelineComponent::Execute

This method executes a pipeline component.

Syntax

HRESULT Execute(
IDispatch
*pDispOrder// in
IDispatch *pDispContext// in
longlFlags// in
long *plErrorLevel// out, retval
);

Parameters

pDispOrder
A pointer to the OrderForm object.
pDispContext
A pointer to the Context object. This is a Dictionary object that contains pointers to the MessageManager object, ShopperManager object, Content object, and language information.
lFlags
Reserved. This parameter should be zero (0).
plErrorLevel
Flag that indicates what level of errors is tolerated. This 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.

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.

Include File

<pipeline.h>
<pipecomp.h>

Return Value

The method returns an HRESULT value.


© 1997-1998 Microsoft Corporation. All rights reserved.