Partilhar via


EnableDesign Method

Use this method to prepare the component for execution in one of two modes: design mode or execution mode.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)

Syntax

'Declaration
Public Sub EnableDesign ( _
    fEnable As Integer _
)
'Usage
Dim instance As PaymentMethodRouterPipelineComponent
Dim fEnable As Integer

instance.EnableDesign(fEnable)
public void EnableDesign(
    int fEnable
)
public:
virtual void EnableDesign(
    int fEnable
) sealed
public final function EnableDesign(
    fEnable : int
)

Parameters

  • fEnable
    Type: System..::.Int32
    Indicates whether the component should be run in design mode. true to indicate that the component should be run in the design mode; otherwise, false.

Remarks

This method is required by the IPipelineComponent interface.

Use this method to prepare the component for execution in one of two modes: design mode or execution mode. In design mode, which is useful for running the Pipeline Editor, errors are more easily tolerated. Execution mode (the default) is analogous to production mode.

Implements the EnableDesign method of the IPipelineComponent interface.

Permissions

See Also

Reference

PaymentMethodRouterPipelineComponent Class

PaymentMethodRouterPipelineComponent Members

Microsoft.CommerceServer.Orders Namespace