SettingsProperty.ThrowOnErrorSerializing 属性

定义

获取或设置一个值,该值指定未成功序列化属性时是否引发错误。

public:
 property bool ThrowOnErrorSerializing { bool get(); void set(bool value); };
public bool ThrowOnErrorSerializing { get; set; }
member this.ThrowOnErrorSerializing : bool with get, set
Public Property ThrowOnErrorSerializing As Boolean

属性值

未成功序列化属性时如果引发错误,则为 true;否则为 false

适用于