MtsTxPipeline Object

Ee796540.c++_off(en-US,CS.10).gifEe796540.vb_on(en-US,CS.10).gif

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

ProgID:   Commerce.MtsTxPipeline (Externally creatable)
COM Class Name:   CTxPipeline
COM Interface Name:   IPipeline
Interface ID Constant:   IID_IPipeline
Header File:   pipeline.h, mspu_guids.h
Type Library Name:   Microsoft Commerce 2000 Order Pipeline Type Library
DLL Name:   pipeline.dll
Threading Model:   Apartment

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.

The methods of the MtsTxPipeline object are shown in the following table.

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. For more information about transactions and pipelines, see Pipeline Basics.

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.


All rights reserved.