InitContextDictionary Method
Method creates the PipelineInfo object to be used by the AcceptBasket.
Namespace: Microsoft.CommerceServer.Orders.WebService
Assembly: Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)
Syntax
'Declaration
Protected Overridable Function InitContextDictionary ( _
pipelineName As String, _
pipelineType As OrderPipelineType _
) As PipelineInfo
'Usage
Dim pipelineName As String
Dim pipelineType As OrderPipelineType
Dim returnValue As PipelineInfo
returnValue = Me.InitContextDictionary(pipelineName, _
pipelineType)
protected virtual PipelineInfo InitContextDictionary(
string pipelineName,
OrderPipelineType pipelineType
)
protected:
virtual PipelineInfo^ InitContextDictionary(
String^ pipelineName,
OrderPipelineType pipelineType
)
protected function InitContextDictionary(
pipelineName : String,
pipelineType : OrderPipelineType
) : PipelineInfo
Parameters
- pipelineName
Type: System..::.String
Name of the pipeline.
- pipelineType
Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderPipelineType
Type of the pipeline.
Return Value
Type: Microsoft.CommerceServer.Runtime.Orders..::.PipelineInfo
A newly created PipelineInfo object with the pipelineName and pipelineType.
Remarks
This method will be called from the AcceptBasket method to initialize the pipe context dictionary. User can over-ride this method if he wants to configure custom keys in the context dictionary. It is up to the over-rider whether he wants to call the base implementation or not.
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.