MtsTxPipeline.LoadPipe (PIA)

Use this method to load a pipeline configuration file (.pcf) into the pipeline.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop
…
Public Sub LoadPipe(pszFileName As String)

[C#]

using Microsoft.CommerceServer.Interop;
…
public void LoadPipe(stringpszFileName);

Parameters

[Visual Basic .NET]

  • pszFileName
    A String containing the pipeline configuration file (.pcf) name.

[C#]

  • pszFileName
    A string containing the pipeline configuration file (.pcf) name.

Exceptions

This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

The LoadPipe method must be called to initialize all pipelines.

The LoadPipe method fails if you attempt to load a configuration file designated for non-transacted pipelines.

[Visual Basic .NET]

Example

' pMtsTxPipeline is a Commerce.MtsTxPipeline object

errVal = pMtsTxPipeline.LoadPipe("CustomShip.pcf")

Requirements

Namespace: Microsoft.CommerceServer.Interop

Platforms: Windows 2000, Windows Server 2003

Assembly: pipelinelib (in pipelinelib.dll)

See Also

MtsTxPipeline Object

MtsTxPipeline.Execute

MtsTxPipeline.SetLogFile

Copyright © 2005 Microsoft Corporation.
All rights reserved.