WebEventCodes.ApplicationShutdownUnloadAppDomainCalled Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the event code indicating that the application domain was explicitly unloaded. This field is constant.

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

public const int ApplicationShutdownUnloadAppDomainCalled

Field Value

Type: System.Int32

ApplicationShutdownUnloadAppDomainCalled is the detail code that specifies the cause of the shutdown.

When the application domain is explicitly unloaded, ASP.NET raises a WebApplicationLifetimeEvent with a major code of ApplicationShutdown and a detail code of ApplicationShutdownUnloadAppDomainCalled.

.NET Framework
Available since 2.0
Return to top