Loads the settings for the ServiceConfiguration from the application or web configuration file.
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim element As ServiceElement

Me.LoadConfiguration(element)

Syntax

Visual Basic
Protected Sub LoadConfiguration ( _
		element As ServiceElement _
)
C#
protected void LoadConfiguration (
		ServiceElement element
)
C++
protected:
void LoadConfiguration (
		ServiceElement^ element
)
J#
protected void LoadConfiguration (
		ServiceElement element
)
JScript
protected function LoadConfiguration (
		element : ServiceElement
)

Parameters

element

Exceptions

Exception type Condition

Remarks

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.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also