ProcessHost.SetApplicationPreloadUtil Method (IApplicationPreloadUtil)

.NET Framework (current version)
 

This API supports the product 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.

Namespace:   System.Web.Hosting
Assembly:  System.Web (in System.Web.dll)

public void SetApplicationPreloadUtil(
	IApplicationPreloadUtil applicationPreloadUtil
)

Parameters

applicationPreloadUtil
Type: System.Web.Hosting.IApplicationPreloadUtil

The handle to an unmanaged interface in IIS 7.0 that ASP.NET calls to get information.

Exception Condition
InvalidOperationException

The IApplicationPreloadUtil instance that contains information for preloading the application is not null.

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.

System_CAPS_noteNote

This method applies only to applications that run on IIS 7.0.

.NET Framework
Available since 4.0
Return to top
Show: