IApplicationPreloadManager.SetApplicationPreloadState 方法

定义

IIS 7.0 调用以通知 ASP.NET 是否应预加载应用程序。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 void SetApplicationPreloadState(System::String ^ context, System::String ^ appId, bool enabled);
public void SetApplicationPreloadState(string context, string appId, bool enabled);
abstract member SetApplicationPreloadState : string * string * bool -> unit
Public Sub SetApplicationPreloadState (context As String, appId As String, enabled As Boolean)

参数

context
String

应用程序上下文。

appId
String

应用程序的唯一 ID。

enabled
Boolean

true 指示应预加载应用程序;否则,为 false.

适用于