The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
WebConfigurationManager::OpenMappedMachineConfiguration Method (ConfigurationFileMap^, String^)
.NET Framework (current version)
Opens the machine-configuration file as a Configuration object using the specified file mapping and location to allow read or write operations.
Assembly: System.Web (in System.Web.dll)
public: static Configuration^ OpenMappedMachineConfiguration( ConfigurationFileMap^ fileMap, String^ locationSubPath )
Parameters
- fileMap
-
Type:
System.Configuration::ConfigurationFileMap^
The ConfigurationFileMap object to use in place of a default machine-configuration file.
- locationSubPath
-
Type:
System::String^
The specific resource to which the configuration applies.
| Exception | Condition |
|---|---|
| ConfigurationErrorsException | A valid configuration file could not be loaded. |
.NET Framework
Available since 2.0
Available since 2.0
Show: