IApplicationPreloadManager.SetApplicationPreloadState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by IIS 7.0 to notify ASP.NET whether an application should be preloaded.
This API supports the product infrastructure and is not intended to be used directly from your code.
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)
Parameters
- context
- String
The application context.
- appId
- String
The unique ID of the application.
- enabled
- Boolean
true
to indicate that the application should be preloaded; otherwise, false
.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.