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

適用於