How do I prevent a WCF service from enter a faulted state?

前端 未结 6 1611
没有蜡笔的小新
没有蜡笔的小新 2020-12-02 08:23

I have a WCF Service that should not enter the faulted state. If there\'s an exception, it should be logged and the service should continue uninterrupted. The service has a

6条回答
  •  时光取名叫无心
    2020-12-02 08:38

    The official documentation on how to handle Faults is here:

    • Handling Exceptions and Faults

    • Understanding State Changes

    with the main page being at Channel Model Overview

    There's a nice state diagram showing how things happen:

    enter image description here

提交回复
热议问题