SettingsProperty.ThrowOnErrorDeserializing 属性

定义

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

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

属性值

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

适用于