CallbackDebugBehavior(Boolean) 构造函数  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 CallbackDebugBehavior 类的新实例。
public:
 CallbackDebugBehavior(bool includeExceptionDetailInFaults);
	public CallbackDebugBehavior(bool includeExceptionDetailInFaults);
	new System.ServiceModel.Description.CallbackDebugBehavior : bool -> System.ServiceModel.Description.CallbackDebugBehavior
	Public Sub New (includeExceptionDetailInFaults As Boolean)
	参数
- includeExceptionDetailInFaults
 - Boolean
 
控制 WCF 回调对象是否在发送回服务的 SOAP 错误详细信息中包括托管异常信息。
注解
构造函数创建 CallbackDebugBehavior 对象,在该对象中,IncludeExceptionDetailInFaults 属性的值为 includeExceptionDetailInFaults 的值。