Share via


Init Method

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

The IHttpModule.Init implementation. Initializes the module and sets up the event handlers.

Namespace:  Microsoft.CommerceServer.Runtime.Caching
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides Sub Init ( _
    appInstance As HttpApplication _
)
'Usage
Dim instance As CommerceCacheModule
Dim appInstance As HttpApplication

instance.Init(appInstance)
public override void Init(
    HttpApplication appInstance
)
public:
virtual void Init(
    HttpApplication^ appInstance
) override
public override function Init(
    appInstance : HttpApplication
)

Parameters

Implements

IHttpModule..::.Init(HttpApplication)

Remarks

Use this method to initialize the module and set up the event handlers.

This module does not subscribe to any application events. Throws a CommerceResourceDependencyException if the associated Commerce Server resource of a known cache type could not be found.

Permissions

See Also

Reference

CommerceCacheModule Class

CommerceCacheModule Members

Microsoft.CommerceServer.Runtime.Caching Namespace