Share via


Create Method (OrderSiteAgent)

Initializes a new instance of the OrderManagementContext class for non-web application (inproc mode).

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

Syntax

'Declaration
Public Shared Function Create ( _
    agent As OrderSiteAgent _
) As OrderManagementContext
'Usage
Dim agent As OrderSiteAgent
Dim returnValue As OrderManagementContext

returnValue = OrderManagementContext.Create(agent)
public static OrderManagementContext Create(
    OrderSiteAgent agent
)
public:
static OrderManagementContext^ Create(
    OrderSiteAgent^ agent
)
public static function Create(
    agent : OrderSiteAgent
) : OrderManagementContext

Parameters

Return Value

Type: Microsoft.CommerceServer.Orders..::.OrderManagementContext
An OrderManagementContext object.

Remarks

Initializes a new instance of the OrderManagementContext class for non-web application (inproc mode).

Permissions

See Also

Reference

OrderManagementContext Class

OrderManagementContext Members

Create Overload

Microsoft.CommerceServer.Orders Namespace