启用失败请求跟踪
Microsoft.Windows.InternetInformationServices.6.2.WebSite.EnableFailedRequestTracing.Task (Task)
此任务将启用选中网站的失败请求跟踪。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.EnableFailedRequestTracing.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebSite" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.6.2.AppCmd.WriteAction">
<Operation>configure trace "$Target/Property[Type="System!System.Entity"]/DisplayName$" /enablesite</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>