EntityDataSourceChangingEventArgs.Exception 属性

定义

获取在插入、更新或删除操作之前验证数据时引发的异常。

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

属性值

发生错误时出现异常;否则,null引用(Visual Basic 中的 Nothing)。

适用于