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

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

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace