共用方式為


HostingEnvironment.ApplicationHost 屬性

定義

這個屬性支援 ASP.NET 基礎結構,並不適合直接從您的程式碼使用。

public:
 static property System::Web::Hosting::IApplicationHost ^ ApplicationHost { System::Web::Hosting::IApplicationHost ^ get(); };
public static System.Web.Hosting.IApplicationHost ApplicationHost { get; }
static member ApplicationHost : System.Web.Hosting.IApplicationHost
Public Shared ReadOnly Property ApplicationHost As IApplicationHost

屬性值

包含主應用程式相關資訊的物件。

適用於

另請參閱