Export (0) Print
Expand All

HttpModuleBase.InitializeModule Method

.NET Framework 4.5

When overridden in a derived class, initializes the current module and prepares it to handle events from its ASP.NET application object.

Namespace:  System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

protected abstract void InitializeModule(
	HttpApplication context


Type: System.Web.HttpApplication

The application object which contains this module.

Use the InitializeModule method to load any additional configuration state as well as to register event handling methods with specific events raised by the HttpApplication object. When this method is called from the Init method, the FederationConfiguration property has already been initialized. You can get the configuration object that is in effect for this module from this property. The FederationConfiguration property should be used for all token processing in this module.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft