Export (0) Print
Expand All

ProcessHost.SetApplicationPreloadUtil Method

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.

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.

Implements

IApplicationPreloadManager.SetApplicationPreloadUtil(IApplicationPreloadUtil)

ExceptionCondition
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.

NoteNote

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

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft