Метод ServiceConfiguration.LoadConfiguration
Loads the settings for the ServiceConfiguration from the application or web configuration file.
Пространство имен: Microsoft.IdentityModel.Configuration
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Dim element As ServiceElement Me.LoadConfiguration(element)
Синтаксис
'Декларация
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
)
Параметры
- element
Исключения
Тип исключений | Условие |
---|
Примечания
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.
Безопасность потоков
Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также
Справочник
Класс ServiceConfiguration
ServiceConfiguration Члены
Пространство имен Microsoft.IdentityModel.Configuration