FaultImportOptions.UseMessageFormat 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,表示 XmlSerializer 應該用於讀寫錯誤。
public:
property bool UseMessageFormat { bool get(); void set(bool value); };
public bool UseMessageFormat { get; set; }
member this.UseMessageFormat : bool with get, set
Public Property UseMessageFormat As Boolean
屬性值
true是否XmlSerializer應用於讀取與寫入錯誤;false若 應使用。DataContractSerializer 預設值為 false。