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

適用於