EntityDataSourceChangingEventArgs.Exception 屬性

定義

會取得在資料在插入、更新或刪除操作前驗證時拋出的例外。

public:
 property Exception ^ Exception { Exception ^ get(); };
public Exception Exception { get; }
member this.Exception : Exception
Public ReadOnly Property Exception As Exception

屬性值

例外情況是,如果發生錯誤;否則,則為 null 參考(Nothing 在 Visual Basic)。

適用於