WebConfigurationManager.OpenMappedMachineConfiguration Methode

Definitie

Hiermee opent u het computerconfiguratiebestand als een Configuration object om lees- of schrijfbewerkingen toe te staan.

Overloads

Name Description
OpenMappedMachineConfiguration(ConfigurationFileMap, String)

Hiermee opent u het computerconfiguratiebestand als een Configuration object met behulp van de opgegeven bestandstoewijzing en -locatie om lees- of schrijfbewerkingen toe te staan.

OpenMappedMachineConfiguration(ConfigurationFileMap)

Hiermee opent u het computerconfiguratiebestand als een Configuration object met behulp van de opgegeven bestandstoewijzing om lees- of schrijfbewerkingen toe te staan.

OpenMappedMachineConfiguration(ConfigurationFileMap, String)

Hiermee opent u het computerconfiguratiebestand als een Configuration object met behulp van de opgegeven bestandstoewijzing en -locatie om lees- of schrijfbewerkingen toe te staan.

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

Het ConfigurationFileMap object dat moet worden gebruikt in plaats van een standaardbestand voor computerconfiguratie.

locationSubPath
String

De specifieke resource waarop de configuratie van toepassing is.

Retouren

Een Configuration-object.

Uitzonderingen

Er kan geen geldig configuratiebestand worden geladen.

Zie ook

Van toepassing op

OpenMappedMachineConfiguration(ConfigurationFileMap)

Hiermee opent u het computerconfiguratiebestand als een Configuration object met behulp van de opgegeven bestandstoewijzing om lees- of schrijfbewerkingen toe te staan.

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

Het ConfigurationFileMap object dat moet worden gebruikt in plaats van het standaardbestand voor computerconfiguratie.

Retouren

Een Configuration-object.

Uitzonderingen

Er kan geen geldig configuratiebestand worden geladen.

Zie ook

Van toepassing op