Module.Initialize Method (IServiceProvider, ModuleInfo)

IIS 7.0
 

When overridden in a derived class, initializes the module.

Namespace:   Microsoft.Web.Management.Client
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

protected internal virtual void Initialize(
	IServiceProvider serviceProvider,
	ModuleInfo moduleInfo
)

Parameters

serviceProvider
Type: System.IServiceProvider

The IServiceProvider to initialize.

moduleInfo
Type: Microsoft.Web.Management.Server.ModuleInfo

The ModuleInfo that contains initialization data.

Notes to Inheritors:

You must override this method in a derived class and call the base class method before performing other initialization operations.

The following example shows how to override the Initialize method in a derived class. Note that you must first call the base class method before performing other processing.

Return to top
Show: