HttpContext.Application Eigenschap

Definitie

Hiermee haalt u het HttpApplicationState object op voor de huidige HTTP-aanvraag.

public:
 property System::Web::HttpApplicationState ^ Application { System::Web::HttpApplicationState ^ get(); };
public System.Web.HttpApplicationState Application { get; }
member this.Application : System.Web.HttpApplicationState
Public ReadOnly Property Application As HttpApplicationState

Waarde van eigenschap

De HttpApplicationState voor de huidige HTTP-aanvraag.

Als u het HttpApplication object voor de huidige HTTP-aanvraag wilt ophalen, gebruikt u ApplicationInstance. (ASP.NET gebruikt ApplicationInstance in plaats van Application als eigenschapsnaam om te verwijzen naar de huidige HttpApplication-instantie om verwarring tussen ASP.NET en klassieke ASP te voorkomen. In de klassieke ASP verwijst Application naar de algemene woordenlijst voor de toepassingsstatus.)

Van toepassing op

Zie ook