CommerceApplicationModule Class (BCL)
The primary CommerceModule class responsible for initialization of the site framework. The CommerceApplicationModule class must be the first CommerceModule class listed in the httpModules section of the web.config file.
This class is sealed.
System.Object
Microsoft.CommerceServer.Runtime.CommerceModule
Microsoft.CommerceServer.Runtime.CommerceApplicationModule
Public Instance Constructor
Constructor | Description |
---|---|
CommerceApplicationModule Constructor | Creates a new instance of the CommerceApplicationModule class. |
Public Instance Methods
Method | Description |
---|---|
Dispose (Inherited from CommerceModule) | Releases resources used by this object. |
Init(HttpApplication) | Initializes the module and sets up the event handlers. |
OnBeginRequest(Object, EventArgs) | Creates a CommerceContext class and stores it in the HttpContext Items collection. |
OnEndRequest(Object, EventArgs) | Releases the current CommerceContext object from the HttpContext Items collection and calls the Dispose method to clean up resources. |
Public Instance Properties
Property | Description |
---|---|
IsInitialized (Inherited from CommerceModule) | Gets a Boolean that is set to True when the CommerceModule class instance is initialized. |
Public Static (Shared) Properties
Property | Description |
---|---|
DebugContext | Gets or sets the debug mode for the DebugContext class. |
Pipelines | Gets the site pipelines collection. |
Resources | Gets the collection of Commerce Server resources configured for the site. |
SiteName | Gets the Commerce Server site name. |
Protected Instance Methods
Method | Description |
---|---|
DeclareModuleDependency(Type, Type) (Inherited from CommerceModule) | Declares a dependency on another CommerceModule class, by type. |
DeclareResourceDependency(String, Type) (Inherited from CommerceModule) | Declares a dependency on a Commerce Server site resource. |
Dispose(Boolean) (Inherited from CommerceModule) | Releases the unmanaged resources used by this class and optionally releases the managed resources. |
Requirements
Namespace: Microsoft.CommerceServer.Runtime
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.dll
Copyright © 2005 Microsoft Corporation.
All rights reserved.