Share via


ValidationError.Exception 屬性

定義

取得或設定 Exception 物件,該物件是這個 ValidationError 的原因,如果錯誤是因為例外狀況所造成。

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

屬性值

Exception

Exception 物件,如果錯誤是因為例外狀況所造成。

適用於