gpt4 book ai didi

ASP.NET 健康监控配置, "eventName"属性的有效值

转载 作者:行者123 更新时间:2023-12-01 11:09:57 25 4
gpt4 key购买 nike

配置健康监控时 eventName 属性的有效值是什么?

<system.web>
...
<healthMonitoring enabled="true" heartbeatInterval="0">
<providers>
<add
name="exampleMailWebEventProvider"
type="System.Web.Management.SimpleMailWebEventProvider"
to="email@example.com"
from="error@example.com"
buffer="false"
subjectPrefix="[Exception] " />
</providers>

<rules>
<add
name="Testing Mail Event Providers"
eventName="All Events"
provider="exampleMailWebEventProvider"
profile="Default"
minInstances="1"
maxLimit="Infinite"
minInterval="00:01:00"
custom="" />
</rules>
</healthMonitoring>

我的 Google-fu(和 MSDN)让我失望了,我找不到您可以订阅的所有其他默认/常见事件的列表。

最佳答案

... aaaaa 我们开始了:MSDN, eventMappings Element for healthMonitoring(令人惊讶的是,一点点额外的努力和耐心能让你走多远)

关于ASP.NET 健康监控配置, "eventName"属性的有效值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1042067/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com