DynamicValidatorEventArgs.Exception 屬性

定義

會取得資料來源操作事件期間發生的例外。

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

屬性值

例外發生在資料來源操作事件期間。

備註

ASP.NET 動態資料提供可由資料來源物件執行的資料來源操作。 這些運算包括 DeleteInsert、 和 SelectUpdateContextCreate。 若發生例外, DynamicValidator 類別會使用此特性取得資料來源操作中觸發的異常類型。

適用於