ExeConfigurationFileMap Constructors

Definition

Initializes a new instance of the ExeConfigurationFileMap class.

Overloads

ExeConfigurationFileMap()

Initializes a new instance of the ExeConfigurationFileMap class.

ExeConfigurationFileMap(String)

Initializes a new instance of the ExeConfigurationFileMap class by using the specified machine configuration file name.

ExeConfigurationFileMap()

Source:
ExeConfigurationFileMap.cs
Source:
ExeConfigurationFileMap.cs
Source:
ExeConfigurationFileMap.cs
Source:
ExeConfigurationFileMap.cs
Source:
ExeConfigurationFileMap.cs

Initializes a new instance of the ExeConfigurationFileMap class.

public:
 ExeConfigurationFileMap();
public ExeConfigurationFileMap ();
Public Sub New ()

Applies to

ExeConfigurationFileMap(String)

Source:
ExeConfigurationFileMap.cs
Source:
ExeConfigurationFileMap.cs
Source:
ExeConfigurationFileMap.cs
Source:
ExeConfigurationFileMap.cs
Source:
ExeConfigurationFileMap.cs

Initializes a new instance of the ExeConfigurationFileMap class by using the specified machine configuration file name.

public:
 ExeConfigurationFileMap(System::String ^ machineConfigFileName);
public ExeConfigurationFileMap (string machineConfigFileName);
new System.Configuration.ExeConfigurationFileMap : string -> System.Configuration.ExeConfigurationFileMap
Public Sub New (machineConfigFileName As String)

Parameters

machineConfigFileName
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).

Remarks

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.

See also

Applies to