WSTrustServiceHost.InitializeSecurityTokenManager 方法

Initializes the SecurityTokenManager that will be exposed through the wrapped ServiceHost. By default the method exposes the SecurityTokenHandlers initialized with SecurityTokenServiceConfiguration through the ServiceHost SecurityTokenManager. Note here we will only re-configure the service host when its credentials is not FederatedServiceCredentials, which allows user to manually configure the credentials themselves.

命名空间: Microsoft.IdentityModel.Protocols.WSTrust
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

Me.InitializeSecurityTokenManager

语法

声明
Protected Overridable Sub InitializeSecurityTokenManager
protected virtual void InitializeSecurityTokenManager ()
protected:
virtual void InitializeSecurityTokenManager ()
protected void InitializeSecurityTokenManager ()
protected function InitializeSecurityTokenManager ()

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

WSTrustServiceHost 类
WSTrustServiceHost 成员
Microsoft.IdentityModel.Protocols.WSTrust 命名空间