Editare

Partajați prin


FederatedAuthentication.FederationConfigurationCreated Event

Definition

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

public:
 static event EventHandler<System::IdentityModel::Services::Configuration::FederationConfigurationCreatedEventArgs ^> ^ FederationConfigurationCreated;
public static event EventHandler<System.IdentityModel.Services.Configuration.FederationConfigurationCreatedEventArgs> FederationConfigurationCreated;
member this.FederationConfigurationCreated : EventHandler<System.IdentityModel.Services.Configuration.FederationConfigurationCreatedEventArgs> 
Public Shared Custom Event FederationConfigurationCreated As EventHandler(Of FederationConfigurationCreatedEventArgs) 
Public Shared Event FederationConfigurationCreated As EventHandler(Of FederationConfigurationCreatedEventArgs) 

Event Type

Remarks

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.

Applies to