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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈