語言

ListViewUpdatedEventArgs(Int32, Exception) 建構函式

定義

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

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

參數

affectedRows
Int32

受到更新操作影響的列數。

exception
Exception

當執行更新操作時(如果有的話)所提出的例外。 若無例外,則使用 null。

備註

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

Note

這個建構器主要供控制開發者在事件提出時使用。

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

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

適用於

另請參閱