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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈