Méthode ServiceConfiguration.LoadConfiguration
Loads the settings for the ServiceConfiguration from the application or web configuration file.
Espace de noms: Microsoft.IdentityModel.Configuration
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim element As ServiceElement Me.LoadConfiguration(element)
Syntaxe
'Déclaration
Protected Sub LoadConfiguration ( _
element As ServiceElement _
)
protected void LoadConfiguration (
ServiceElement element
)
protected:
void LoadConfiguration (
ServiceElement^ element
)
protected void LoadConfiguration (
ServiceElement element
)
protected function LoadConfiguration (
element : ServiceElement
)
Paramètres
- element
Exceptions
Type d'exception | Condition |
---|
Remarques
If there is no configuration file, or the named section does not exist, then no exception is thrown; instead the class is loaded with a set of default values.
Cohérence de thread
Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.
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 ServiceConfiguration
Membres ServiceConfiguration
Espace de noms Microsoft.IdentityModel.Configuration