語言

FormViewUpdatedEventArgs(Int32, Exception) 建構函式

定義

初始化 FormViewUpdatedEventArgs 類別的新執行個體。

public:
 FormViewUpdatedEventArgs(int affectedRows, Exception ^ e);
public FormViewUpdatedEventArgs(int affectedRows, Exception e);
new System.Web.UI.WebControls.FormViewUpdatedEventArgs : int * Exception -> System.Web.UI.WebControls.FormViewUpdatedEventArgs
Public Sub New (affectedRows As Integer, e As Exception)

參數

affectedRows
Int32

受更新操作影響的列數。

e
Exception

代表 Exception 執行更新操作時所提出的例外。 若無例外,則使用 null 該參數。

備註

使用此建構子初始化該類別的新實例 FormViewUpdatedEventArgs 。

下表顯示該 FormViewUpdatedEventArgs 類別實例的初始屬性值。

房產 初始值
AffectedRows 參數的 affectedRows 值。
Exception 參數 System.Exception 中包含的 e 物件。
ExceptionHandled 初始化為 false。
KeepInEditMode 初始化為 false。

Note

此建構器主要由控制開發者在舉辦事件時使用。

適用於

另請參閱