This documentation is archived and is not being maintained.
ProcessHost::SetApplicationPreloadUtil Method
Visual Studio 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Creates a type that calls IIS 7.0 to get information that is required in order to preload an application.
Assembly: System.Web (in System.Web.dll)
public: virtual void SetApplicationPreloadUtil( IApplicationPreloadUtil^ applicationPreloadUtil ) sealed
Parameters
- applicationPreloadUtil
- Type: System.Web.Hosting::IApplicationPreloadUtil
The handle to an unmanaged interface in IIS 7.0 that ASP.NET calls to get information.
Implements
IApplicationPreloadManager::SetApplicationPreloadUtil(IApplicationPreloadUtil)| Exception | Condition |
|---|---|
| InvalidOperationException | The IApplicationPreloadUtil instance that contains information for preloading the application is not nullptr. |
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. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
Note