FederatedAuthentication.FederationConfigurationCreated Event

.NET Framework (current version)
 

Occurs when the FederationConfiguration property is accessed for the first time by one of the HTTP modules in the web application.

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

public static event EventHandler<FederationConfigurationCreatedEventArgs> FederationConfigurationCreated

The FederationConfigurationCreated event is raised when the first HTTP module in the web application references FederationConfiguration property. The first access of the this property causes a FederationConfiguration object to be created and initialized from the <federationConfiguration> element in the configuration file. You can access the newly created FederationConfiguration object through the FederationConfigurationCreatedEventArgs.FederationConfiguration property in an event handler in order to examine or modify it before it is used to provide initialization for any of the HTTP modules configured for the application.

.NET Framework
Available since 4.5
Return to top
Show: