Add Method
Add a specified pipeline to the end of the PipelineCollection.
Namespace: Microsoft.CommerceServer.Runtime.Pipelines
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub Add ( _
pipelineName As String, _
pipeline As PipelineBase _
)
'Usage
Dim instance As PipelineCollection
Dim pipelineName As String
Dim pipeline As PipelineBase
instance.Add(pipelineName, pipeline)
public void Add(
string pipelineName,
PipelineBase pipeline
)
public:
void Add(
String^ pipelineName,
PipelineBase^ pipeline
)
public function Add(
pipelineName : String,
pipeline : PipelineBase
)
Parameters
- pipelineName
Type: System..::.String
Pipeline name. May not be nullNothingnullptra null reference (Nothing in Visual Basic).
- pipeline
Type: Microsoft.CommerceServer.Runtime.Pipelines..::.PipelineBase
Pipeline object. May not be nullNothingnullptra null reference (Nothing in Visual Basic).
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | pipelineName or pipeline parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
Remarks
Add a specified pipeline to the end of the PipelineCollection.
The pipeline name is case insensitive.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.