語言

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

適用於