ApplicationManager.GetAppDomain 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.
Gets the application domain of a specified application.
Overloads
GetAppDomain(String) |
Gets the application domain of the specified application. |
GetAppDomain(IApplicationHost) |
Gets the application domain of an application using the specified host. |
GetAppDomain(String)
Gets the application domain of the specified application.
public:
AppDomain ^ GetAppDomain(System::String ^ appId);
public AppDomain GetAppDomain (string appId);
member this.GetAppDomain : string -> AppDomain
Public Function GetAppDomain (appId As String) As AppDomain
Parameters
- appId
- String
The unique identifier for the application.
Returns
The application domain of the application.
Applies to
GetAppDomain(IApplicationHost)
Gets the application domain of an application using the specified host.
public:
AppDomain ^ GetAppDomain(System::Web::Hosting::IApplicationHost ^ appHost);
public AppDomain GetAppDomain (System.Web.Hosting.IApplicationHost appHost);
member this.GetAppDomain : System.Web.Hosting.IApplicationHost -> AppDomain
Public Function GetAppDomain (appHost As IApplicationHost) As AppDomain
Parameters
- appHost
- IApplicationHost
The host to get the application domain for.
Returns
The application domain of the application.
Applies to
.NET