HttpModuleBase.InitializeModule Method

.NET Framework 4.6 and 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.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft