ExeConfigurationFileMap Constructor (String^)
.NET Framework (current version)
Initializes a new instance of the ExeConfigurationFileMap class by using the specified machine configuration file name.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- machineConfigFileName
-
Type:
System::String^
The name of the machine configuration file that includes the complete physical path (for example, c:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config).
You use this constructor when you are targeting a version of the .NET Framework that is earlier than the latest one that is installed on the computer. This constructor enables you to specify a machine configuration file that is appropriate to the version of the .NET Framework that you are targeting.
.NET Framework
Available since 4.0
Available since 4.0
Show: