ServiceConfiguration.Initialize Method
Updates properties in the T:Microsoft.IdentityModel.Tokens.SecurityTokenHandlerConfiguration objects for the T:Microsoft.IdentityModel.Tokens.SecurityTokenHandlerCollection objects contained in P:Microsoft.IdentityModel.Configuration.ServiceConfiguration.SecurityTokenHandlerCollectionManager to be consistent with the property values on this T:Microsoft.IdentityModel.Configuration.ServiceConfiguration instance.
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Verwendung
Dim instance As ServiceConfiguration instance.Initialize
Syntax
'Declaration
Public Overridable Sub Initialize
public virtual void Initialize ()
public:
virtual void Initialize ()
public void Initialize ()
public function Initialize ()
Ausnahmen
Ausnahmetyp | Bedingung |
---|
Hinweise
This method should be invoked prior to using token handlers for token processing. M:Microsoft.IdentityModel.Tokens.FederatedServiceCredentials.ConfigureServiceHost(System.ServiceModel.ServiceHostBase) calls this method. P:Microsoft.IdentityModel.Web.FederatedAuthentication.ServiceConfiguration calls this method after raising the E:Microsoft.IdentityModel.Web.FederatedAuthentication.ServiceConfigurationCreated event.
Threadsicherheit
Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Plattformen
Entwicklungsplattformen
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Siehe auch
Referenz
ServiceConfiguration Class
ServiceConfiguration Members
Microsoft.IdentityModel.Configuration Namespace