Initializes an instance of T:Microsoft.IdentityModel.Configuration.SecurityTokenServiceConfiguration.
Пространство имен: Microsoft.IdentityModel.Configuration
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

Visual Basic
Dim issuerName As String
Dim signingCredentials As SigningCredentials
Dim loadConfig As Boolean

Dim instance As New SecurityTokenServiceConfiguration(issuerName, signingCredentials, loadConfig)

Синтаксис

Visual Basic
Public Sub New ( _
		issuerName As String, _
		signingCredentials As SigningCredentials, _
		loadConfig As Boolean _
)
C#
public SecurityTokenServiceConfiguration (
		string issuerName,
		SigningCredentials signingCredentials,
		bool loadConfig
)
C++
public:
SecurityTokenServiceConfiguration (
		String^ issuerName, 
		SigningCredentials^ signingCredentials, 
		bool loadConfig
)
J#
public SecurityTokenServiceConfiguration (
		String issuerName, 
		SigningCredentials signingCredentials, 
		boolean loadConfig
)
JScript
public function SecurityTokenServiceConfiguration (
		issuerName : String, 
		signingCredentials : SigningCredentials, 
		loadConfig : boolean
)

Параметры

issuerName

The issuer name.

signingCredentials

The signing credential for the STS.

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

См. также