VirtualDirectoryMapping Constructors

Definition

Creates a new instance of the VirtualDirectoryMapping class.

Overloads

VirtualDirectoryMapping(String, Boolean)

Creates a new instance of the VirtualDirectoryMapping class based on supplied parameters.

VirtualDirectoryMapping(String, Boolean, String)

Creates a new instance of the VirtualDirectoryMapping class based on supplied parameters.

VirtualDirectoryMapping(String, Boolean)

Creates a new instance of the VirtualDirectoryMapping class based on supplied parameters.

C#
public VirtualDirectoryMapping(string physicalDirectory, bool isAppRoot);

Parameters

physicalDirectory
String

A string value that specifies the absolute path to a physical directory.

isAppRoot
Boolean

A Boolean value that indicates whether the virtual directory is the application root of the Web application.

Applies to

.NET Framework 4.8.1 ja muut versiot
Tuote Versiot
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

VirtualDirectoryMapping(String, Boolean, String)

Creates a new instance of the VirtualDirectoryMapping class based on supplied parameters.

C#
public VirtualDirectoryMapping(string physicalDirectory, bool isAppRoot, string configFileBaseName);

Parameters

physicalDirectory
String

A string value that specifies the absolute path to a physical directory.

isAppRoot
Boolean

A Boolean value that indicates whether the virtual directory is the application root of the Web application.

configFileBaseName
String

The name of the configuration file.

Applies to

.NET Framework 4.8.1 ja muut versiot
Tuote Versiot
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1