Udostępnij za pośrednictwem


AppDomain.SetDynamicBase(String) Metoda

Definicja

Uwaga

AppDomain.SetDynamicBase has been deprecated and is not supported.

Uwaga

AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. https://go.microsoft.com/fwlink/?linkid=14202

Uwaga

AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. http://go.microsoft.com/fwlink/?linkid=14202

Ustanawia określoną ścieżkę katalogu jako katalog podstawowy dla podkatalogów, w których dynamicznie generowane pliki są przechowywane i dostępne.

public:
 void SetDynamicBase(System::String ^ path);
[System.Obsolete("AppDomain.SetDynamicBase has been deprecated and is not supported.")]
public void SetDynamicBase(string? path);
[System.Obsolete("AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void SetDynamicBase(string? path);
[System.Obsolete("AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void SetDynamicBase(string path);
public void SetDynamicBase(string path);
[System.Obsolete("AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Security.SecurityCritical]
public void SetDynamicBase(string path);
[System.Obsolete("AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void SetDynamicBase(string path);
[<System.Obsolete("AppDomain.SetDynamicBase has been deprecated and is not supported.")>]
member this.SetDynamicBase : string -> unit
[<System.Obsolete("AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.SetDynamicBase : string -> unit
[<System.Obsolete("AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.SetDynamicBase : string -> unit
member this.SetDynamicBase : string -> unit
[<System.Obsolete("AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
[<System.Security.SecurityCritical>]
member this.SetDynamicBase : string -> unit
Public Sub SetDynamicBase (path As String)

Parametry

path
String

W pełni kwalifikowana ścieżka, która jest katalogem podstawowym dla podkatalogów, w których są przechowywane zestawy dynamiczne.

Atrybuty

Wyjątki

Operacja jest podejmowana w domenie aplikacji, która została zwolniona.

Uwagi

Ta metoda ustawia DynamicBase właściwość wewnętrznego AppDomainSetup skojarzonego z tym wystąpieniem.

Dotyczy

Zobacz też