WCF ErrorHandler

后端 未结 2 1322
心在旅途
心在旅途 2021-01-27 09:05

I have read several documentations about building custom ErrorHandler (by inheriting from IErrorHandler). Unfortunately, I have several doubts about how doing it.

The pr

2条回答
  •  独厮守ぢ
    2021-01-27 09:51

    Based on the MSDN documentation, the boolean is to return a success or failure of performing the needed behavior.

    You are correct in that the ProviderFault method is where you control what is returned to the client.

    I highly recommend reading the linked MSDN doc, it provides some good insight.

提交回复
热议问题