WebEventCodes.ApplicationShutdownChangeInSecurityPolicyFile 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 security policy file has changed. This field is constant.

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

public const int ApplicationShutdownChangeInSecurityPolicyFile

Field Value

Type: System.Int32

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

When the security policy file is changed, ASP.NET raises a WebApplicationLifetimeEvent with a major code of ApplicationShutdown and a detail code of ApplicationShutdownChangeInSecurityPolicyFile.

.NET Framework
Available since 2.0
Return to top