0
我嘗試忽略Elmah中的System.Web.HttpException(0x80072746)。我嘗試以下,但他們不工作:Elmah忽略System.Web.HttpException(0x80072746)
<errorFilter>
<test>
<equal binding="HttpStatusCode" value="0x80072746" type="UInt32" />
</test>
</errorFilter>
和
<errorFilter>
<test>
<equal binding="HttpStatusCode" value="0x80072746" type="Int32" />
</test>
</errorFilter>
和
<errorFilter>
<test>
<equal binding="HttpStatusCode" value="0x80072746" type="String" />
</test>
</errorFilter>
我發現這個線程,但它告訴我投它。 ..我不知道如何投它在Elmah配置: How to catch a specific HttpException (#0x80072746) in an IHttpHandler
有沒有人有想法?
非常感謝提前!