SecurityTokenServiceConfiguration 构造函数 (Boolean)

Initializes an instance of T:Microsoft.IdentityModel.Configuration.SecurityTokenServiceConfiguration.

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

用法

    Dim loadConfig As Boolean

Dim instance As New SecurityTokenServiceConfiguration(loadConfig)

语法

声明
Public Sub New ( _
    loadConfig As Boolean _
)
public SecurityTokenServiceConfiguration (
    bool loadConfig
)
public:
SecurityTokenServiceConfiguration (
    bool loadConfig
)
public SecurityTokenServiceConfiguration (
    boolean loadConfig
)
public function SecurityTokenServiceConfiguration (
    loadConfig : boolean
)

参数

  • loadConfig
    Whether or not the configuration file should be loaded.

异常

异常类型 条件

备注

The IssuerName must be set before the P:Microsoft.IdentityModel.Configuration.SecurityTokenServiceConfiguration.SecurityTokenService is used to create a token.

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

SecurityTokenServiceConfiguration 类
SecurityTokenServiceConfiguration 成员
Microsoft.IdentityModel.Configuration 命名空间