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。