This documentation is archived and is not being maintained.

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
public virtual string ShadowCopyDirectories {get; set;}
public: __property virtual String* get_ShadowCopyDirectories();
public: __property virtual void set_ShadowCopyDirectories(String*);
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.




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


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.


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