Export (0) Print
Expand All

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 static void RegisterModule(
	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.

© 2014 Microsoft