Information
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

Appends the specified name of the directory to the private path.

[Visual Basic]
Public Overridable Sub AppendPrivatePath( _
   ByVal path As String _
) Implements _AppDomain.AppendPrivatePath
[C#]
public virtual void AppendPrivatePath(
 string path
);
[C++]
public: virtual void AppendPrivatePath(
 String* path
);
[JScript]
public function AppendPrivatePath(
   path : String
);

Parameters

path
The name of the directory to be appended to the private path.

Implements

_AppDomain.AppendPrivatePath

Exceptions

Exception Type Condition
AppDomainUnloadedException Operations are attempted on an unloaded application domain.
SecurityException The caller does not have the correct permissions. See the requirements section.

Remarks

The private path, or relative search path, is the path relative to the base directory where the assembly resolver probes for private assemblies.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

AppDomain Class | AppDomain Members | System Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft