MtsTxPipeline Object

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Use this object to run a transacted Microsoft Commerce Server pipeline configuration. The pipeline may be an Order Processing pipeline (OPP).

ProgID:

Commerce.MtsTxPipeline (Externally creatable)

COM Class Name:

CTxPipeline

Type Library Name:

Microsoft Commerce Server Order Pipeline Type Library

DLL Name:

pipeline.dll

Threading Model:

Apartment

COM Interface Name:

IPipeline

Interface ID Constant:

IID_IPipeline

Header File:

pipeline.h

In C++, use the IPipeline interface to access the properties and methods of the MtsTxPipeline object.

Because this object is primarily intended for use within ASP script, access from C++ will not be common.

Methods

Method

Description

Execute

Runs the components in the pipeline.

LoadPipe

Loads a pipeline configuration file (.pcf) into the pipeline.

SetLogFile

Identifies the file in which to log pipeline events.

Remarks

The MtsTxPipeline is usually created on each page in which it is used.

The MtsTxPipeline object is registered under Microsoft Transaction Server (MTS) as "transactions required." This object holds a transaction that spans all components in the pipeline configuration.

When used with a database, the MtsTxPipeline object requires an ODBC-compliant database that supports MTS.

The Microsoft Distributed Transaction Coordinator (MSDTC) service must be running in order to use the MtsTxPipeline object.

To verify that the Distributed Transaction Coordinator service is running

  1. Click Start, point to Programs, point to Administrative Tools, and then click Services.

  2. Scroll to Distributed Transaction Coordinator and verify that the Status is Started.

See Also

Other Resources

COM Object Reference