WebConfigurationManager.OpenMappedMachineConfiguration WebConfigurationManager.OpenMappedMachineConfiguration WebConfigurationManager.OpenMappedMachineConfiguration WebConfigurationManager.OpenMappedMachineConfiguration Method

Definition

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

Overloads

OpenMappedMachineConfiguration(ConfigurationFileMap, String) OpenMappedMachineConfiguration(ConfigurationFileMap, String) OpenMappedMachineConfiguration(ConfigurationFileMap, String) OpenMappedMachineConfiguration(ConfigurationFileMap, String)

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

OpenMappedMachineConfiguration(ConfigurationFileMap) OpenMappedMachineConfiguration(ConfigurationFileMap) OpenMappedMachineConfiguration(ConfigurationFileMap) OpenMappedMachineConfiguration(ConfigurationFileMap)

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

OpenMappedMachineConfiguration(ConfigurationFileMap, String) OpenMappedMachineConfiguration(ConfigurationFileMap, String) OpenMappedMachineConfiguration(ConfigurationFileMap, String) OpenMappedMachineConfiguration(ConfigurationFileMap, String)

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

public:
 static System::Configuration::Configuration ^ OpenMappedMachineConfiguration(System::Configuration::ConfigurationFileMap ^ fileMap, System::String ^ locationSubPath);
public static System.Configuration.Configuration OpenMappedMachineConfiguration (System.Configuration.ConfigurationFileMap fileMap, string locationSubPath);
static member OpenMappedMachineConfiguration : System.Configuration.ConfigurationFileMap * string -> System.Configuration.Configuration
Public Shared Function OpenMappedMachineConfiguration (fileMap As ConfigurationFileMap, locationSubPath As String) As Configuration

Parameters

fileMap
ConfigurationFileMap ConfigurationFileMap ConfigurationFileMap ConfigurationFileMap

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

locationSubPath
String String String String

The specific resource to which the configuration applies.

Returns

Exceptions

See also

OpenMappedMachineConfiguration(ConfigurationFileMap) OpenMappedMachineConfiguration(ConfigurationFileMap) OpenMappedMachineConfiguration(ConfigurationFileMap) OpenMappedMachineConfiguration(ConfigurationFileMap)

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

public:
 static System::Configuration::Configuration ^ OpenMappedMachineConfiguration(System::Configuration::ConfigurationFileMap ^ fileMap);
public static System.Configuration.Configuration OpenMappedMachineConfiguration (System.Configuration.ConfigurationFileMap fileMap);
static member OpenMappedMachineConfiguration : System.Configuration.ConfigurationFileMap -> System.Configuration.Configuration
Public Shared Function OpenMappedMachineConfiguration (fileMap As ConfigurationFileMap) As Configuration

Parameters

fileMap
ConfigurationFileMap ConfigurationFileMap ConfigurationFileMap ConfigurationFileMap

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

Returns

Exceptions

See also

Applies to