AppDomain.SetCachePath(String) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Perhatian
AppDomain.SetCachePath has been deprecated and is not supported.
Perhatian
AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. https://go.microsoft.com/fwlink/?linkid=14202
Perhatian
AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202
Menetapkan jalur direktori yang ditentukan sebagai lokasi tempat rakitan disalin bayangan.
public:
void SetCachePath(System::String ^ path);
public:
virtual void SetCachePath(System::String ^ path);
[System.Obsolete("AppDomain.SetCachePath has been deprecated and is not supported.")]
public void SetCachePath(string? path);
[System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void SetCachePath(string? path);
[System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void SetCachePath(string path);
public void SetCachePath(string path);
[System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Security.SecurityCritical]
public void SetCachePath(string path);
[System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void SetCachePath(string path);
[<System.Obsolete("AppDomain.SetCachePath has been deprecated and is not supported.")>]
member this.SetCachePath : string -> unit
[<System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.SetCachePath : string -> unit
[<System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.SetCachePath : string -> unit
abstract member SetCachePath : string -> unit
override this.SetCachePath : string -> unit
[<System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member SetCachePath : string -> unit
override this.SetCachePath : string -> unit
[<System.Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
[<System.Security.SecurityCritical>]
abstract member SetCachePath : string -> unit
override this.SetCachePath : string -> unit
Public Sub SetCachePath (path As String)
Parameter
- path
- String
Jalur yang sepenuhnya memenuhi syarat ke lokasi salinan bayangan.
Penerapan
- Atribut
Pengecualian
Operasi ini dicoba pada domain aplikasi yang tidak dimuat.
Keterangan
Jalur cache diabaikan jika ApplicationName properti tidak diatur. AppDomainSetup.CachePath Lihat properti .
Untuk informasi selengkapnya tentang penyalinan bayangan, lihat Rakitan Penyalinan Bayangan.