CallbackDebugElement.IncludeExceptionDetailInFaults 屬性

定義

取得或設定值,指定用戶端回呼物件是否將 SOAP 錯誤中的 Managed 例外狀況資訊傳回給服務。

public:
 property bool IncludeExceptionDetailInFaults { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("includeExceptionDetailInFaults", DefaultValue=false)]
public bool IncludeExceptionDetailInFaults { get; set; }
[<System.Configuration.ConfigurationProperty("includeExceptionDetailInFaults", DefaultValue=false)>]
member this.IncludeExceptionDetailInFaults : bool with get, set
Public Property IncludeExceptionDetailInFaults As Boolean

屬性值

Boolean

如果 Windows Communication Foundation (WCF) 傳回 SOAP 錯誤中的 Managed 用戶端回呼例外狀況資訊,以達雙工通訊中服務端偵錯的目的,則為 true,否則為 false。 預設為 false

屬性

適用於