AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageCacheManager Constructor (eAdvantageCacheContainerType, Int32, Int32, SQL)

Initializes a new instance of the AdvantageCacheManager class.

Namespace:  AdvantageCMS.Core.Utils.Cache
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public AdvantageCacheManager(
	eAdvantageCacheContainerType cacheContainerType,
	int domainId,
	int languageId,
	SQL sqlconnection
)

Parameters

cacheContainerType
Type: AdvantageCMS.Core.Utils.Cache.Containers..::..eAdvantageCacheContainerType
Type of the cache container.
domainId
Type: Int32
The domain identifier.
languageId
Type: Int32
The language identifier.
sqlconnection
Type: AdvantageCMS.Data..::..SQL
The sqlconnection.

Exceptions


ExceptionCondition
eCMSEngineEventStatus..::..ExceptionAdvantageCacheManager of eAdvantageCacheContainerType (Database) Cannot instantiate without a connection to the database server. Please use the correct constructor AdvantageCacheManager(eAdvantageCacheContainerType cacheContainerType, int domainId, int languageId, SQL sqlconnection).