Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Reads from a specific section of the config file or the configuration web service.
Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common.Configuration (in Microsoft.Uii.Common.Configuration.dll)
Syntax
public object ReadSection(
string sectionName,
IConfigurationSectionHandler configSectionHandler
)
Public Function ReadSection (
sectionName As String,
configSectionHandler As IConfigurationSectionHandler
) As Object
Parameters
sectionName
Type: System.StringSpecifies the name of the section to attempt to read.
configSectionHandler
Type: System.Configuration.IConfigurationSectionHandlerSpecifies the configuration section handler object
Return Value
Type: System.Object
Type: Object
Exceptions
| Exception | Condition |
|---|---|
| ConfigurationErrorsException | Thrown when no configuration is found from either the config file or the web service. |
See Also
ConfigurationValueReader Class
Microsoft.Uii.Common Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright