IApplicationPreloadManager.SetApplicationPreloadState Method (String, String, Boolean)

.NET Framework (current version)
 

This API supports the product infrastructure and is not intended to be used directly from your code.

Called by IIS 7.0 to notify ASP.NET whether an application should be preloaded.

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

void SetApplicationPreloadState(
	string context,
	string appId,
	bool enabled
)

Parameters

context
Type: System.String

The application context.

appId
Type: System.String

The unique ID of the application.

enabled
Type: System.Boolean

true to indicate that the application should be preloaded; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show: