WebEventCodes.ApplicationShutdownHostingEnvironment Field

Represents the event code indicating that the hosting environment is shutting down. This field is constant.

Namespace: System.Web.Management
Assembly: System.Web (in system.web.dll)

public:
literal int ApplicationShutdownHostingEnvironment
public static final int ApplicationShutdownHostingEnvironment
public const var ApplicationShutdownHostingEnvironment : int
Not applicable.

The ApplicationShutdownHostingEnvironment is the detail code that specifies the cause of the shutdown.

When the hosting environment is shutting down, ASP.NET raises a WebApplicationLifetimeEvent with a major code of ApplicationShutdown and a detail code of ApplicationShutdownHostingEnvironment.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: