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)


Public Shared Sub RegisterModule ( _
    moduleType As Type _
Dim moduleType As TypeDynamicModuleUtility.RegisterModule(moduleType)
public static void RegisterModule(
    Type moduleType
static void RegisterModule(
    Type^ moduleType
static member RegisterModule : 
        moduleType:Type -> unit 
public static function RegisterModule(
    moduleType : Type


  • 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.

See Also


DynamicModuleUtility Class

Microsoft.Web.Infrastructure.DynamicModuleHelper Namespace