Поделиться через


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