<callbackDebug>
指定 Windows Communication Foundation (WCF) 回调对象的服务调试。
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<endpointBehaviors> 的 <behavior>
<callbackDebug>
<callbackDebug includeExceptionDetailInFaults="Boolean" />
Type
属性和元素
属性
属性 | 说明 |
---|---|
includeExceptionDetailInFaults |
一个值,指定客户端回调对象是否向服务返回 SOAP 错误中的托管异常信息。 如果以编程方式将此属性设置为 true,则可以将客户端回调对象中的托管异常信息回流到服务,以便进行调试。 警告 向客户端返回托管异常信息可能具有安全风险。这是因为,异常详细信息公开了有关内部服务实现的信息,这些信息可能被未经授权的客户端使用。 |
子元素
无。
父元素
元素 | Description |
---|---|
指定终结点行为。 |