DynamicModuleUtility.RegisterModule Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Dynamically registers an IHttpModule module.

Namespace:  Microsoft.Web.Infrastructure.DynamicModuleHelper
Assembly:  Microsoft.Web.Infrastructure (in Microsoft.Web.Infrastructure.dll)

'Declaration
Public Shared Sub RegisterModule ( _
	moduleType As Type _
)
'Usage
Dim moduleType As Type

DynamicModuleUtility.RegisterModule(moduleType)

Parameters

moduleType
Type: System.Type
The type of the module to register.

Modules are typically registered through the <modules> section of the Web.config file. However, the RegisterModule(Type) method registers modules at run time.

Show: