Bearbeiten

Freigeben über


ProcessHost.SetApplicationPreloadUtil(IApplicationPreloadUtil) Method

Definition

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