DynamicValidatorEventArgs.Exception 属性

定义

获取在数据源操作事件期间发生的异常。

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

属性值

数据源操作事件期间发生的异常。

注解

ASP.NET 动态数据提供数据源操作,这些操作可由数据源对象执行。 这些操作包括DeleteInsertSelectUpdateContextCreate。 如果发生异常,则 DynamicValidator 类使用此属性获取在数据源操作期间触发的异常类型。

适用于