Share via


OrderPipeline.Execute (Object, Object) Method (BCL)

Use this method to execute the order pipeline using the Commerce.PooledPipeline or Commerce.PooledTxPipeline object.

Definition

[Visual Basic .NET]

Overrides Public Function Execute( _ByValorder As System.Object, _
  ByValcontext As System.Object _
) As System.Int32

[C#]

public override System.Int32 Execute(System.Objectorder,
  System.Objectcontext);

Parameters

[Visual Basic .NET]

  • order
    The Order dictionary or an OrderForm object. May not be null.
  • context
    The Context dictionary. May not be null.

[C#]

  • order
    The Order dictionary or an OrderForm object. May not be null.
  • context
    The Context dictionary. May not be null.

Return Value

The error level.

Error Level Description
1 Success. The pipeline ran successfully.
2 Warning. A pipeline component raised a warning. Generally, these are basket or user errors that would be reported to the user in the ASP page.
3+ Failure. A pipeline component failed.

Remarks

Throws an ArgumentNullException if the order parameter or the context parameter is null.

Throws a CommerceCreateObjectException if the Pipeline COM object could not be found.

Throws a PipelineLoadException if the pipeline could not be loaded.

Throws a PipelineExecuteException if there is an exception during pipeline execution.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Pipelines

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

See Also

Code to Read a Pipeline Collection and Display Its Properties

Copyright © 2005 Microsoft Corporation.
All rights reserved.