Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Executes the Order Processing (OPP) pipeline.
Namespace: Microsoft.CommerceServer.Runtime.Pipelines
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Overrides Function Execute ( _
order As Object, _
context As Object _
) As Integer
'Usage
Dim instance As OrderPipeline
Dim order As Object
Dim context As Object
Dim returnValue As Integer
returnValue = instance.Execute(order, _
context)
public override int Execute(
Object order,
Object context
)
public:
virtual int Execute(
Object^ order,
Object^ context
) override
public override function Execute(
order : Object,
context : Object
) : int
Parameters
- order
Type: System..::.Object
Either an order dictionary or an OrderForm object.
- context
Type: System..::.Object
Context dictionary object.
Return Value
Type: System..::.Int32
Error level code. See table in Remarks.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | One of the order or context arguments is nullNothingnullptra null reference (Nothing in Visual Basic). |
CommerceCreateObjectException | The Pipeline COM object needed to execute this pipeline could not be found. |
PipelineExecutionException | An exception occurred during pipeline execution. |
Remarks
Executes the order pipeline. Use this method to execute the Order Processing (OPP) pipeline.
Returns an error level code from the pipeline execution, one of the following:
Value |
Description |
---|---|
0 |
Success: The pipeline ran successfully. |
1 |
Warning: A pipeline component raised a warning. Generally, these are basket or user errors that would be reported to the user through a web page. |
2 |
Failure: A pipeline component failed. |
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.