Freigeben über


ServiceConfiguration.LoadConfiguration Method

Loads the settings for the ServiceConfiguration from the application or web configuration file.

Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

    Dim element As ServiceElement

Me.LoadConfiguration(element)

Syntax

'Declaration
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
)

Parameter

  • element
     

Ausnahmen

Ausnahmetyp Bedingung

Hinweise

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.

Threadsicherheit

Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

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

Siehe auch

Referenz

ServiceConfiguration Class
ServiceConfiguration Members
Microsoft.IdentityModel.Configuration Namespace