Jaa


RunPipeline Method (PipelineInfo, PipelineBase)

Executes the stages of the specified pipeline.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overridable Function RunPipeline ( _
    pipelineInfo As PipelineInfo, _
    pipeline As PipelineBase _
) As PipelineExecutionResult
'Usage
Dim instance As OrderGroup
Dim pipelineInfo As PipelineInfo
Dim pipeline As PipelineBase
Dim returnValue As PipelineExecutionResult

returnValue = instance.RunPipeline(pipelineInfo, _
    pipeline)
public virtual PipelineExecutionResult RunPipeline(
    PipelineInfo pipelineInfo,
    PipelineBase pipeline
)
public:
virtual PipelineExecutionResult RunPipeline(
    PipelineInfo^ pipelineInfo, 
    PipelineBase^ pipeline
)
public function RunPipeline(
    pipelineInfo : PipelineInfo, 
    pipeline : PipelineBase
) : PipelineExecutionResult

Parameters

Return Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.PipelineExecutionResult
A PipelineExecutionResult enumeration value.

Exceptions

Exception Condition
PipelineExecutionException

An error occurred while executing the pipeline.

OrderFormMarshallingException

An error occurred during order form marshalling from an IDictionary.

ArgumentNullException

pipeline is nullNothingnullptra null reference (Nothing in Visual Basic).

InvalidOperationException

The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder.

OverflowException

An error occurred while marshalling decimal values from the order system to currency values (Variant of type VT_CY) that is in the pipeline. This can happen if the decimal number is too large to represent as a currency or would lose precision if converted to a currency.

Remarks

Use this method to execute the stages of a specified pipeline.

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

RunPipeline Overload

Microsoft.CommerceServer.Runtime.Orders Namespace