#pragma autorecover
#pragma classflags(64)
#pragma namespace("\\\\.\\Root\\WMI")
instance of __namespace{ name="ms_804";};
#pragma namespace("\\\\.\\Root\\WMI\\ms_804")

[Description("IIS: Request Monitor") : Amended,AMENDMENT, LOCALE(0x0804)] 
class IIS_Reqmon : EventTrace
{
  [Description("启用标志") : Amended,ValueDescriptions{"需要时监视"} : Amended] uint32 Flags;
};

[Description("IIS 请求监视事件") : Amended,AMENDMENT, LOCALE(0x0804)] 
class IIS_ReqMonEvent : IIS_Reqmon
{
};

[Description("正在转储工作进程的 IIS 请求") : Amended,EventTypeName("StartProcessDump") : Amended,AMENDMENT, LOCALE(0x0804)] 
class IIS_ReqMonEventsStart : IIS_ReqMonEvent
{
  [Description("工作进程 PID") : Amended] uint32 WorkerProcessPID;
  [Description("已提供服务的请求") : Amended] uint32 RequestsServed;
  [Description("TotalWorkerThreads") : Amended] uint32 TotalWorkerThreads;
  [Description("可用工作线程") : Amended] uint32 AvailableWorkerThreads;
  [Description("应用程序池 ID") : Amended] string AppPoolId;
  [Description("进程开始时间") : Amended] uint64 ProcessStartedTime;
};

[Description("正在转储工作进程的 IIS 请求") : Amended,EventTypeName("StopProcessDump") : Amended,AMENDMENT, LOCALE(0x0804)] 
class IIS_ReqMonEventsStop : IIS_ReqMonEvent
{
  [Description("工作进程 PID") : Amended] uint32 WorkerProcessPID;
};

[Description("IIS 请求处理中") : Amended,EventTypeName("IISRequestInProgress") : Amended,AMENDMENT, LOCALE(0x0804)] 
class IISRequestInProgress : IIS_ReqMonEvent
{
  [Description("上下文 ID") : Amended] object ContextId;
  [Description("站点 ID") : Amended] uint32 SiteId;
  [Description("本地 IP 地址") : Amended] string LocalIPAddress;
  [Description("本地端口") : Amended] uint16 LocalPort;
  [Description("主机名") : Amended] string HostName;
  [Description("应用程序池 ID") : Amended] string AppPoolId;
  [Description("连接 ID") : Amended] uint64 ConnId;
  [Description("进程 ID") : Amended] uint32 ProcId;
  [Description("客户端 IP 地址") : Amended] string ClientIP;
  [Description("请求谓词") : Amended] string ReqVerb;
  [Description("请求 URL") : Amended] string ReqUrl;
  [Description("处理状态") : Amended,ValueDescriptions{"Init", "NewRequest", "正在处理", "发送同步", "发送异步", "发送异步已完成", "接收同步", "接收异步", "接收异步已完成", "接收客户端证书同步", "接收客户端证书异步", "接收客户端证书异步已完成"} : Amended] uint32 ProcessingState;
  [Description("在 WorkerProcess 中的已用时间(以 100 纳秒为单位)") : Amended] uint64 TicksElapsed;
  [Description("自上一次处理状态更改后的已用时间(以 100 纳秒为单位)") : Amended] uint64 TicksFromLastState;
};
