Export (0) Print
Expand All

ProcessHost.SetApplicationPreloadUtil Method

.NET Framework 4.6 and 4.5

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.6, 4.5, 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft