IAppDomainSetup.ShadowCopyDirectories IAppDomainSetup.ShadowCopyDirectories IAppDomainSetup.ShadowCopyDirectories IAppDomainSetup.ShadowCopyDirectories Property

定义

获取或设置目录的名称,这些目录包含要影像复制的程序集。Gets or sets the names of the directories containing assemblies to be shadow copied.

public:
 property System::String ^ ShadowCopyDirectories { System::String ^ get(); void set(System::String ^ value); };
public string ShadowCopyDirectories { get; set; }
member this.ShadowCopyDirectories : string with get, set
Public Property ShadowCopyDirectories As String

属性值

包含目录名称列表的 String,其中每个名称都用分号隔开。A String containing a list of directory names, where each name is separated by a semicolon.

注解

如果未设置此PrivateBinPath属性, 则默认情况下ApplicationBase, 由指定的所有目录 (包括指定的目录) 将进行卷影复制。All directories specified by PrivateBinPath, including the directory specified by ApplicationBase, are 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.

在完成首次绑定后, AppDomain不能更改此属性。This property cannot be changed after the AppDomain has finished its first bind.

适用于