Partager via


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 Overrides Sub Init ( _
    appInstance As HttpApplication _
)
'Usage
Dim instance As CommerceApplicationModule
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.

The SiteName, Resources, Pipelines and DebugContext properties are initialized here after reading the <application> portion of the CommerceServer config section group.

Permissions

See Also

Reference

CommerceApplicationModule Class

CommerceApplicationModule Members

Microsoft.CommerceServer.Runtime Namespace