Partager via


Constructeur SecurityTokenServiceConfiguration (String, Boolean)

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

Espace de noms: Microsoft.IdentityModel.Configuration
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim issuerName As String
Dim loadConfig As Boolean

Dim instance As New SecurityTokenServiceConfiguration(issuerName, loadConfig)

Syntaxe

'Déclaration
Public Sub New ( _
    issuerName As String, _
    loadConfig As Boolean _
)
public SecurityTokenServiceConfiguration (
    string issuerName,
    bool loadConfig
)
public:
SecurityTokenServiceConfiguration (
    String^ issuerName, 
    bool loadConfig
)
public SecurityTokenServiceConfiguration (
    String issuerName, 
    boolean loadConfig
)
public function SecurityTokenServiceConfiguration (
    issuerName : String, 
    loadConfig : boolean
)

Paramètres

  • issuerName
    The issuer name.
  • loadConfig
    Whether or not the configuration file should be loaded.

Exceptions

Type d'exception Condition

Remarques

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

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

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

Voir aussi

Référence

Classe SecurityTokenServiceConfiguration
Membres SecurityTokenServiceConfiguration
Espace de noms Microsoft.IdentityModel.Configuration