CatalogContext Class

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

The CatalogContext class contains the functionality to manage the catalog and inventory systems. This class cannot be inherited.

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

Syntax

'Declaration
Public NotInheritable Class CatalogContext _
    Inherits CatalogObjectBase
'Usage
Dim instance As CatalogContext
public sealed class CatalogContext : CatalogObjectBase
public ref class CatalogContext sealed : public CatalogObjectBase
public final class CatalogContext extends CatalogObjectBase

Remarks

CatalogContext is the root object for the Catalog System. It is a thread-safe and stateless object. A single instance should be created and reused for the lifetime of the application.

This class is the single entry point class. It provides methods to create an instance of the CatalogContext class in either the Web service mode or the local server mode. When initialized in the Web service mode, subsequent method invocations on this instance will use the Catalog Web service to perform the actions. When initialized in the local server mode, subsequent method invocations on this instance will perform the directly against the catalog database.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Catalog..::.CatalogObjectBase
    Microsoft.CommerceServer.Catalog..::.CatalogContext

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CatalogContext Members

Microsoft.CommerceServer.Catalog Namespace