Init Method

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

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

Syntax

'Declaration
Public Overridable Sub Init ( _
    appInstance As HttpApplication _
)
'Usage
Dim instance As CommerceModule
Dim appInstance As HttpApplication

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

Parameters

Implements

IHttpModule..::.Init(HttpApplication)

Remarks

Derived classes that override Init should always call this method using base.Init() after performing their own initialization. Init sets the static property IsInitialized to true.

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

Permissions

See Also

Reference

CommerceModule Class

CommerceModule Members

Microsoft.CommerceServer.Runtime Namespace