WebEventCodes.ApplicationShutdownResourcesDirChangeOrDirectoryRename 字段

定义

表示的是指示 App_Resources 目录中的子目录已更改或已重命名的事件代码。Represents the event code indicating a subdirectory in the App_Resources directory was changed or renamed. 此字段为常数。This field is constant.

public: int ApplicationShutdownResourcesDirChangeOrDirectoryRename = 50010;
public const int ApplicationShutdownResourcesDirChangeOrDirectoryRename = 50010;
val mutable ApplicationShutdownResourcesDirChangeOrDirectoryRename : int
Public Const ApplicationShutdownResourcesDirChangeOrDirectoryRename As Integer  = 50010

字段值

Int32

注解

ApplicationShutdownResourcesDirChangeOrDirectoryRename指定关闭原因的详细信息代码。ApplicationShutdownResourcesDirChangeOrDirectoryRename is the detail code that specifies the cause of the shutdown.

更改或重命名 App_Resources 目录中的子目录时,ASP.NET 将引发,其 WebApplicationLifetimeEvent 主要代码为 ApplicationShutdown ,详细信息代码为 ApplicationShutdownResourcesDirChangeOrDirectoryRenameWhen a subdirectory in the App_Resources directory is changed or renamed, ASP.NET raises a WebApplicationLifetimeEvent with a major code of ApplicationShutdown and a detail code of ApplicationShutdownResourcesDirChangeOrDirectoryRename.

适用于

另请参阅