IApplicationPreloadManager.SetApplicationPreloadState Methode

Definition

Wird von IIS 7.0 aufgerufen, um ASP.NET zu benachrichtigen, ob eine Anwendung vorab geladen werden soll.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

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)

Parameter

context
String

Der Anwendungskontext.

appId
String

Die eindeutige ID der Anwendung.

enabled
Boolean

true, um anzugeben, dass die Anwendung vorab geladen werden muss, andernfalls false.

Gilt für