Partager via


OrderSiteAgent Constructor (String)

Initializes a new instance of the OrderSiteAgent class.

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

Syntax

'Declaration
Public Sub New ( _
    siteName As String _
)
'Usage
Dim siteName As String

Dim instance As New OrderSiteAgent(siteName)
public OrderSiteAgent(
    string siteName
)
public:
OrderSiteAgent(
    String^ siteName
)
public function OrderSiteAgent(
    siteName : String
)

Parameters

  • siteName
    Type: System..::.String
    The name of the site for which to read resource configuration information. May not be nullNothingnullptra null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
ArgumentNullException

siteName is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Class which should be used to create OrderManagementContext instance in the non-web environment.

Permissions

See Also

Reference

OrderSiteAgent Class

OrderSiteAgent Members

OrderSiteAgent Overload

Microsoft.CommerceServer.Orders Namespace