OrderPipeline Constructor (String, String, Boolean, String, Boolean)
Initializes a new instance of the OrderPipeline class with the specified parameter values.
Namespace: Microsoft.CommerceServer.Runtime.Pipelines
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
pipelineConfigPath As String, _
loggingEnabled As Boolean, _
logPath As String, _
transactional As Boolean _
)
'Usage
Dim name As String
Dim pipelineConfigPath As String
Dim loggingEnabled As Boolean
Dim logPath As String
Dim transactional As Boolean
Dim instance As New OrderPipeline(name, pipelineConfigPath, _
loggingEnabled, logPath, transactional)
public OrderPipeline(
string name,
string pipelineConfigPath,
bool loggingEnabled,
string logPath,
bool transactional
)
public:
OrderPipeline(
String^ name,
String^ pipelineConfigPath,
bool loggingEnabled,
String^ logPath,
bool transactional
)
public function OrderPipeline(
name : String,
pipelineConfigPath : String,
loggingEnabled : boolean,
logPath : String,
transactional : boolean
)
Parameters
- name
Type: System..::.String
Friendly name of the pipeline, used as a unique reference. Cannot be nullNothingnullptra null reference (Nothing in Visual Basic).
- pipelineConfigPath
Type: System..::.String
Fully qualified path to the pipeline configuration file. Cannot be nullNothingnullptra null reference (Nothing in Visual Basic).
- loggingEnabled
Type: System..::.Boolean
true if pipeline logging is enabled for this pipeline; otherwise false.
- logPath
Type: System..::.String
The location (directory) of the pipeline log file. Cannot be nullNothingnullptra null reference (Nothing in Visual Basic) if logging is enabled. The full pipeline log path is of the form "logPath\user_id.pipelog".
- transactional
Type: System..::.Boolean
true if the pipeline should run in a transactional COM+ context; otherwise false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | One of the name, pipelineConfigPath, or logPath (if loggingEnabled is true) parameters is nullNothingnullptra null reference (Nothing in Visual Basic). |
Remarks
Creates and runs an Order Processing pipeline (OPP). This pipeline type is used during execution of an orders pipeline. Generally it is not directly executed by user code, but instead is executed using RunPipeline method in OrderGroup class.
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.