开发者

Passing message to client without using FAULT CONTRACT

开发者 https://www.devze.com 2023-01-12 01:35 出处:网络
Recently I have been asked in an interview as how to pass exception detail to client without using FAULT CO开发者_如何学编程NTRACT.

Recently I have been asked in an interview as how to pass exception detail to client

without using FAULT CO开发者_如何学编程NTRACT.

I was not able to answer.

But I need to know it. So looking forward to hear about the same.


I guess they asked you for this:

<behavior>
  <serviceBehaviors>
    <behavior name="ExceptionBehavior">
      <serviceDebug includeExceptionDetailsInFaults="true" />
    </behavior>
  </serviceBehaviors>
</behavior>
0

精彩评论

暂无评论...
验证码 换一张
取 消