Share via


Create Method (CatalogSiteAgent, CacheConfiguration)

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Creates an instance of the CatalogContext object from the specified site agent.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Shared Function Create ( _
    catalogSiteAgent As CatalogSiteAgent, _
    cacheConfiguration As CacheConfiguration _
) As CatalogContext
'Usage
Dim catalogSiteAgent As CatalogSiteAgent
Dim cacheConfiguration As CacheConfiguration
Dim returnValue As CatalogContext

returnValue = CatalogContext.Create(catalogSiteAgent, _
    cacheConfiguration)
public static CatalogContext Create(
    CatalogSiteAgent catalogSiteAgent,
    CacheConfiguration cacheConfiguration
)
public:
static CatalogContext^ Create(
    CatalogSiteAgent^ catalogSiteAgent, 
    CacheConfiguration^ cacheConfiguration
)
public static function Create(
    catalogSiteAgent : CatalogSiteAgent, 
    cacheConfiguration : CacheConfiguration
) : CatalogContext

Parameters

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogContext
An instance of the CatalogContext object.

Remarks

The CatalogContext class contains the functionality to manage the catalog and inventory systems.

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

Create Overload

Microsoft.CommerceServer.Catalog Namespace