Information
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^)

 

Opens the machine-configuration file as a Configuration object, using the specified file mapping to allow read or write operations.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public:
static Configuration^ OpenMappedMachineConfiguration(
	ConfigurationFileMap^ fileMap
)

Parameters

fileMap
Type: System.Configuration::ConfigurationFileMap^

The ConfigurationFileMap object to use in place of the default machine-configuration file.

Exception Condition
ConfigurationErrorsException

A valid configuration file could not be loaded.

.NET Framework
Available since 2.0
Return to top
Show: