CallbackDebugElement.IncludeExceptionDetailInFaults 属性
定义
获取或设置一个值,该值指定客户端回调对象是否向服务返回 SOAP 错误中的托管异常信息。Gets or sets a value that specifies whether client callback objects return managed exception information in SOAP faults back to the service.
public:
property bool IncludeExceptionDetailInFaults { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("includeExceptionDetailInFaults", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public bool IncludeExceptionDetailInFaults { get; set; }
[<System.Configuration.ConfigurationProperty("includeExceptionDetailInFaults", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.IncludeExceptionDetailInFaults : bool with get, set
Public Property IncludeExceptionDetailInFaults As Boolean
属性值
如果 Windows Communication Foundation (WCF) 在双工通信中返回 SOAP 错误中的托管客户端回调异常信息,以便进行服务端调试,则为 true;否则为 false。true if Windows Communication Foundation (WCF) returns managed client callback exception information in the SOAP faults for service-side debugging purposes in duplex communication; otherwise, false. 默认值为 false。The default is false.
- 属性