AppDomain.SetDynamicBase(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
AppDomain.SetDynamicBase has been deprecated and is not supported.
Caution
AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. https://go.microsoft.com/fwlink/?linkid=14202
Caution
AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. http://go.microsoft.com/fwlink/?linkid=14202
Establishes the specified directory path as the base directory for subdirectories where dynamically generated files are stored and accessed.
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)
Parameters
- path
- String
The fully qualified path that is the base directory for subdirectories where dynamic assemblies are stored.
- Attributes
Exceptions
The operation is attempted on an unloaded application domain.
Remarks
This method sets the DynamicBase property of the internal AppDomainSetup associated with this instance.