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)

Syntax

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

Parameters

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

Remarks

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

Reference

DynamicModuleUtility Class

Microsoft.Web.Infrastructure.DynamicModuleHelper Namespace