Partager via


Méthode ServiceConfiguration.LoadHandlerConfiguration (SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement)

Loads configuration elements pertaining to the T:Microsoft.IdentityModel.Tokens.SecurityTokenHandlerCollection.

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

Utilisation

    Dim baseConfiguration As SecurityTokenHandlerConfiguration
Dim element As SecurityTokenHandlerConfigurationElement
Dim returnValue As SecurityTokenHandlerConfiguration

returnValue = Me.LoadHandlerConfiguration(baseConfiguration, element)

Syntaxe

'Déclaration
Protected Function LoadHandlerConfiguration ( _
    baseConfiguration As SecurityTokenHandlerConfiguration, _
    element As SecurityTokenHandlerConfigurationElement _
) As SecurityTokenHandlerConfiguration
protected SecurityTokenHandlerConfiguration LoadHandlerConfiguration (
    SecurityTokenHandlerConfiguration baseConfiguration,
    SecurityTokenHandlerConfigurationElement element
)
protected:
SecurityTokenHandlerConfiguration^ LoadHandlerConfiguration (
    SecurityTokenHandlerConfiguration^ baseConfiguration, 
    SecurityTokenHandlerConfigurationElement^ element
)
protected SecurityTokenHandlerConfiguration LoadHandlerConfiguration (
    SecurityTokenHandlerConfiguration baseConfiguration, 
    SecurityTokenHandlerConfigurationElement element
)
protected function LoadHandlerConfiguration (
    baseConfiguration : SecurityTokenHandlerConfiguration, 
    element : SecurityTokenHandlerConfigurationElement
) : SecurityTokenHandlerConfiguration

Paramètres

  • baseConfiguration
    Base T:Microsoft.IdentityModel.Tokens.SecurityTokenHandlerConfiguration from which to inherit default values.
  • element
    The T:Microsoft.IdentityModel.Configuration.SecurityTokenHandlerConfigurationElement from the configuration file.

Exceptions

Type d'exception Condition

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