Метод ServiceConfiguration.Initialize
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.
Пространство имен: Microsoft.IdentityModel.Configuration
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Dim instance As ServiceConfiguration instance.Initialize
Синтаксис
'Декларация
Public Overridable Sub Initialize
public virtual void Initialize ()
public:
virtual void Initialize ()
public void Initialize ()
public function Initialize ()
Исключения
Тип исключений | Условие |
---|
Примечания
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.
Безопасность потоков
Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также
Справочник
Класс ServiceConfiguration
ServiceConfiguration Члены
Пространство имен Microsoft.IdentityModel.Configuration