Export (0) Print
Expand All

AppDomainSetup.ShadowCopyDirectories Property

Gets or sets the names of the directories containing assemblies to be shadow copied.

[Visual Basic]
Public Overridable Property ShadowCopyDirectories As String  _
   Implements IAppDomainSetup.ShadowCopyDirectories
[C#]
public virtual string ShadowCopyDirectories {get; set;}
[C++]
public: __property virtual String* get_ShadowCopyDirectories();
public: __property virtual void set_ShadowCopyDirectories(String*);
[JScript]
public function get ShadowCopyDirectories() : String;
public function set ShadowCopyDirectories(String);

Property Value

A String containing a list of directory names, where each name is separated by a semicolon.

Implements

IAppDomainSetup.ShadowCopyDirectories

Exceptions

Exception Type Condition
SecurityException The caller does not have the required permission.

Remarks

All directories specified by PrivateBinPath, including the directory specified by ApplicationBase, are not shadow copied by default if this property is not set.

If an executable file is in use, updates to the executable file are stored in a shadow copy directory. Existing users continue using the original executable file until it terminates, while new users use the shadow copied executable file.

This property cannot be changed after the AppDomain has finished its first bind.

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

AppDomainSetup Class | AppDomainSetup Members | System Namespace

Show:
© 2014 Microsoft