ProcessHost.SetApplicationPreloadUtil(IApplicationPreloadUtil) 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.
Creates a type that calls IIS 7.0 to get information that is required in order to preload an application.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual void SetApplicationPreloadUtil(System::Web::Hosting::IApplicationPreloadUtil ^ applicationPreloadUtil);
public void SetApplicationPreloadUtil (System.Web.Hosting.IApplicationPreloadUtil applicationPreloadUtil);
abstract member SetApplicationPreloadUtil : System.Web.Hosting.IApplicationPreloadUtil -> unit
override this.SetApplicationPreloadUtil : System.Web.Hosting.IApplicationPreloadUtil -> unit
Public Sub SetApplicationPreloadUtil (applicationPreloadUtil As IApplicationPreloadUtil)
Parameters
- applicationPreloadUtil
- IApplicationPreloadUtil
The handle to an unmanaged interface in IIS 7.0 that ASP.NET calls to get information.
Implements
Exceptions
The IApplicationPreloadUtil instance that contains information for preloading the application is not null
.
Remarks
This method implements the SetApplicationPreloadUtil method of the IApplicationPreloadManager interface. The method creates an instance of the IApplicationPreloadUtil type, which calls into IIS 7.0 to get preloading information.
Note
This method applies only to applications that run on IIS 7.0.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應