Partager via


IPipelineComponent::Execute Method

Use this method to execute a pipeline component.

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

1

Success. No errors, component executed successfully.

2

Warning. Basket or purchase errors for this operation.

3+

Failure. Serious errors in execution of this component.

Return Value

The method returns an HRESULT value.

See Also

Other Resources

IPipelineComponent Interface