Init Method
Use this method to initialize the module and set up the event handlers.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Overrides Sub Init ( _
appInstance As HttpApplication _
)
'Usage
Dim instance As CommerceOrderModule
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
- appInstance
Type: System.Web..::.HttpApplication
The HttpApplication instance that created this module.
Implements
IHttpModule..::.Init(HttpApplication)
Remarks
CommerceOrderModule subscribes to the application BeginRequest events by adding an event handler to the HTTP pipeline chain of execution.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.