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
有没有人有想法?
非常感谢提前!