語言

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

適用於