CommerceResourceCollection Constructor
Initializes a new instance of the CommerceResourceCollection class.
Namespace: Microsoft.CommerceServer.Runtime.Configuration
Assembly: Microsoft.CommerceServer.Shared (in Microsoft.CommerceServer.Shared.dll)
Syntax
'Declaration
Public Sub New ( _
siteName As String _
)
'Usage
Dim siteName As String
Dim instance As New CommerceResourceCollection(siteName)
public CommerceResourceCollection(
string siteName
)
public:
CommerceResourceCollection(
String^ siteName
)
public function CommerceResourceCollection(
siteName : String
)
Parameters
- siteName
Type: System..::.String
The name of the site 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
Use this method to create a new instance of the CommerceResourceCollection class for the specified site.
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.
See Also
Reference
CommerceResourceCollection Class