CallbackDebugElement.IncludeExceptionDetailInFaults 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指定客戶端回調物件是否會將 SOAP 錯誤中的受管理異常資訊回傳給服務。
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
屬性值
true 如果 Windows Communication Foundation(WCF)在 SOAP 錯誤中回傳受管理的客戶端回調異常資訊,用於雙工通訊中的服務端除錯;否則則為 false。 預設值為 false。
- 屬性