語言

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值。

適用於