Share via


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

Use this method to run a pipeline. This method must be overridden in the derived classes.

Definition

[Visual Basic .NET]

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

[C#]

public abstract virtual System.Int32 Execute(System.Objectorder,
  System.Objectcontext);

Parameters

[Visual Basic .NET]

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

[C#]

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

Return Value

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 through the ASP page.
3+ Failure. A pipeline component failed.

Remarks

Throws an ArgumentNullException if the order 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

Copyright © 2005 Microsoft Corporation.
All rights reserved.