Share via


PipelineCollection.Add (String, PipelineBase) Method (BCL)

Use this method to add a pipeline to the collection.

Definition

[Visual Basic .NET]

Public Sub Add( _ByValpipelineName As System.String, _
  ByValpipeline As PipelineBase _
) 

[C#]

public void Add(System.StringpipelineName,
  PipelineBasepipeline);

Parameters

[Visual Basic .NET]

  • pipelineName
    The pipeline name. May not be null.
  • pipeline
    The Pipeline object. May not be null.

[C#]

  • pipelineName
    The pipeline name. May not be null.
  • pipeline
    The Pipeline object. May not be null.

Remarks

Throws an ArgumentNullException if either required parameter is passed as null.

Throws an ArgumentException if a pipeline with the same name already exists in the collection.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Pipelines

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.