Share via


CallbackDebugBehavior(Boolean) 构造函数

定义

初始化 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 的值。

适用于