EntityDataSourceChangingEventArgs.Exception 属性
定义
获取在执行插入、更新或删除操作之前验证数据时引发的异常。Gets the exception that was thrown while the data was being validated before the insert, update, or delete operation.
public:
property Exception ^ Exception { Exception ^ get(); };
public Exception Exception { get; }
member this.Exception : Exception
Public ReadOnly Property Exception As Exception
属性值
如果出现错误,则为异常,否则为 null 引用(在 Visual Basic 中为 Nothing)。The exception, if an error occurred; otherwise, a null reference (Nothing in Visual Basic).