The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
AppDomain::AppendPrivatePath Method (String^)
.NET Framework (current version)
Appends the specified directory name to the private path list.
Assembly: mscorlib (in mscorlib.dll)
public: [SecurityCriticalAttribute] [ObsoleteAttribute("AppDomain.AppendPrivatePath has been deprecated. Please investigate the use of AppDomainSetup.PrivateBinPath instead. http://go.microsoft.com/fwlink/?linkid=14202")] virtual void AppendPrivatePath( String^ path ) sealed
Parameters
- path
-
Type:
System::String^
The name of the directory to be appended to the private path.
Implements
_AppDomain::AppendPrivatePath(String^)| Exception | Condition |
|---|---|
| AppDomainUnloadedException | The operation is attempted on an unloaded application domain. |
The use of this property is not recommended, because it might change the probing path for assemblies after they have already been loaded. Use the AppDomainSetup::PrivateBinPath property instead.
The private path, or relative search path, is the path relative to the base directory where the assembly resolver probes for private assemblies.
SecurityCriticalAttribute
Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
.NET Framework
Available since 1.1
Available since 1.1
Show: