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)

Usage

Visual Basic
Dim instance As ServiceConfiguration

instance.Initialize

Syntax

Visual Basic
Public Overridable Sub Initialize
C#
public virtual void Initialize ()
C++
public:
virtual void Initialize ()
J#
public void Initialize ()
JScript
public function Initialize ()

Exceptions

Exception type Condition

Remarks

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.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also